Update GitHub Actions workflow to use RELEASE_TOKEN for manual repository checkout step, enhancing security and access control.
Some checks failed
Build linux_amd64 extension and upload to Packages / build-linux-amd64 (push) Failing after 25m20s
Some checks failed
Build linux_amd64 extension and upload to Packages / build-linux-amd64 (push) Failing after 25m20s
This commit is contained in:
2
.github/workflows/build-linux-amd64.yml
vendored
2
.github/workflows/build-linux-amd64.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository (manual)
|
- name: Checkout repository (manual)
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.GITEA_TOKEN }}
|
TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
if [ -d .git ]; then
|
if [ -d .git ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user