Skip to content

Commit

Permalink
fix(ci): Roll back to normal PAT
Browse files Browse the repository at this point in the history
Don't know why this didn't work
  • Loading branch information
alexpovel committed Jan 1, 2024
1 parent 99fde21 commit 5a84fc4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ jobs:
- name: Run type checks
run: devbox run typecheck

# https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow
- name: Fetch GitHub token for integration tests
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Run tests
run: devbox run test
env:
Expand All @@ -45,7 +37,9 @@ jobs:
# The `GITHUB_TOKEN` failed (https://github.com/alexpovel/ancv/actions/runs/4093416643/jobs/7063406195):
#
# body = b'{"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/reference/gists#list-gists-for-a-user"}'
GH_TOKEN: ${{ steps.app-token.outputs.token }}
#
# So use a personal token.
GH_TOKEN: ${{ secrets.GH_PERMISSIONLESS_FGAT }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 5a84fc4

Please sign in to comment.