diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0c9a48be..fe0ba14d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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)