Skip to content

Commit cf2a72b

Browse files
chagongCopilot
andauthored
ci: use built-in token for team-memory caller (#639)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent ebbe6db commit cf2a72b

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

‎.github/workflows/team-memory-post-merge.yml‎

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,14 @@ jobs:
1919
github.event.forced == false
2020
runs-on: ubuntu-latest
2121
timeout-minutes: 10
22+
permissions:
23+
contents: read
24+
actions: write
2225
steps:
23-
- name: Create coordinator dispatch token
24-
id: dispatch-token
25-
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
26-
with:
27-
client-id: ${{ vars.ISSUELENS_DISPATCH_APP_CLIENT_ID }}
28-
private-key: ${{ secrets.ISSUELENS_DISPATCH_APP_PRIVATE_KEY }}
29-
owner: microsoft
30-
repositories: vscode-java-pack
31-
permission-contents: read
32-
permission-actions: write
33-
3426
- name: Queue team-memory request
3527
uses: microsoft/IssueLens/.github/actions/queue-team-memory@a81d2d96167fc0e69ac631c2edc85f858e693289
3628
with:
37-
dispatch-token: ${{ steps.dispatch-token.outputs.token }}
29+
dispatch-token: ${{ github.token }}
3830
coordinator-repository: microsoft/vscode-java-pack
3931
coordinator-workflow: team-memory-coordinator.yml
4032
coordinator-ref: main

0 commit comments

Comments
 (0)