ci: authenticate GitHub API request (fixes #2607)

This commit is contained in:
Robert Vollmert
2024-02-17 15:27:30 +01:00
committed by Wolfgang Walther
parent 8a6c8cde6d
commit a41b48135f
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -198,7 +198,8 @@ jobs:
- name: Get FreeBSD executable from CirrusCI
env:
# GITHUB_SHA does weird things for pull request, so we roll our own:
GITHUB_COMMIT: ${{github.event.pull_request.head.sha || github.sha}}
GITHUB_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: .github/get_cirrusci_freebsd
- name: Save executable as artifact
uses: actions/upload-artifact@v3