diff --git a/.github/workflows/team-memory-post-merge.yml b/.github/workflows/team-memory-post-merge.yml index 6db926c3..dfbc2f70 100644 --- a/.github/workflows/team-memory-post-merge.yml +++ b/.github/workflows/team-memory-post-merge.yml @@ -23,14 +23,22 @@ jobs: github.event.forced == false }} runs-on: ubuntu-latest timeout-minutes: 10 - permissions: - contents: read - actions: write steps: + - name: Get token for the Java Pack coordinator + id: dispatch-token + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 + with: + client-id: ${{ vars.ISSUELENS_DISPATCH_APP_CLIENT_ID }} + private-key: ${{ secrets.ISSUELENS_DISPATCH_APP_PRIVATE_KEY }} + owner: microsoft + repositories: vscode-java-pack + permission-contents: read + permission-actions: write + - name: Queue team-memory request uses: microsoft/IssueLens/.github/actions/queue-team-memory@a81d2d96167fc0e69ac631c2edc85f858e693289 with: - dispatch-token: ${{ github.token }} + dispatch-token: ${{ steps.dispatch-token.outputs.token }} coordinator-repository: microsoft/vscode-java-pack coordinator-workflow: team-memory-coordinator.yml coordinator-ref: main