Skip to content

Commit

Permalink
tshoot: github tokens with workflows in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatch committed Nov 9, 2024
1 parent 076594c commit 49411c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
- self-hosted-ubuntu-22.04

runs-on: ${{ matrix.os }}
permissions:
actions: write
contents: write
packages: write
pull-requests: write

timeout-minutes: 1200

Expand All @@ -67,7 +72,7 @@ jobs:
# https://api.github.com/repos/${{ github.repository }})
RESPONSE=$(curl -s -L \
-H "Authorization: Bearer ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/freecad/homebrew-freecad/actions/runners)
Expand Down

0 comments on commit 49411c2

Please sign in to comment.