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:
parent
fef97f6736
commit
9ca65e1894
@ -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:
|
||||
|
||||
3
.github/workflows/update-release-url.yml
vendored
3
.github/workflows/update-release-url.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user