Skip to content

Commit

Permalink
issues: Use app instead of PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed Nov 24, 2024
1 parent 1f9ac7f commit 3984a09
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/add-issues-to-triage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@v1.11.0
with:
app-id: ${{ vars.NOCTURNE_BOT_APP_ID }}
private-key: ${{ secrets.NOCTURNE_BOT_PRIVATE_KEY }}

- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/usenocturne/projects/1
github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
github-token: ${{ steps.generate-token.outputs.token }}

0 comments on commit 3984a09

Please sign in to comment.