Fix update release url pipeline run failed (#947)

* update-release-url pipeline add trigger commit to git if github event is release

* Remove v in release tag

* Change job name and add checkout step

* Checkout step uses service account token

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
This commit is contained in:
hiento09 2023-12-12 09:08:36 +07:00 committed by GitHub
parent fef97f6736
commit 9ca65e1894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -181,6 +181,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: "0"
token: ${{ secrets.PAT_SERVICE_ACCOUNT }}
- name: Notify Discord
uses: Ilshidur/action-discord@master
with:
@ -207,6 +211,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: "0"
token: ${{ secrets.PAT_SERVICE_ACCOUNT }}
- name: Notify Discord
uses: Ilshidur/action-discord@master
with:

View File

@ -14,6 +14,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: "0"
token: ${{ secrets.PAT_SERVICE_ACCOUNT }}
- name: Get Latest Release
uses: pozetroninc/github-action-get-latest-release@v0.7.0