mirror of
https://github.com/penpot/penpot.git
synced 2026-06-26 09:12:06 +00:00
🔧 Migrate auto-label workflow from PAT to GitHub App toke
This commit is contained in:
parent
adbb5a8b5f
commit
f996ef372d
10
.github/workflows/auto-label.yml
vendored
10
.github/workflows/auto-label.yml
vendored
@ -10,10 +10,18 @@ jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Generate GitHub App token
|
||||
id: triage-app-token
|
||||
uses: actions/create-github-app-token@v1
|
||||
with:
|
||||
app-id: ${{ secrets.TRAIGE_APP_ID }}
|
||||
private-key: ${{ secrets.TRIAGE_APP_PRIVATE_KEY }}
|
||||
owner: ${{ github.repository_owner }}
|
||||
|
||||
- name: Process Issue or PR
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
github-token: ${{ secrets.PROJECT_TOKEN }}
|
||||
github-token: ${{ steps.triage-app-token.outputs.token }}
|
||||
script: |
|
||||
// === 1. CONFIGURATION ===
|
||||
const PROJECT_NUMBER = 8; // <--- Replace with your project board number
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user