Skip to content

Commit bc4c9b9

Browse files
committed
Change token
1 parent 58300da commit bc4c9b9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/dispatch-roadmap-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Dispatch Roadmap Update
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [labeled]
66

77
jobs:

.github/workflows/roadmap-update.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- name: Update Project Board Dates
2121
uses: actions/github-script@v6
2222
with:
23+
github-token: ${{ secrets.PROJECT_TOKEN }}
2324
script: |
2425
const { Octokit } = require('@octokit/rest');
2526
const octokit = new Octokit({ auth: github.token });
@@ -171,6 +172,4 @@ jobs:
171172
console.error('Error updating project board:', error);
172173
core.setFailed(`Error updating project board:${error.message}`);
173174
}
174-
}
175-
env:
176-
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
175+
}

0 commit comments

Comments
 (0)