diff --git a/.github/workflows/team-memory-post-merge.yml b/.github/workflows/team-memory-post-merge.yml index c2695109..de7001f4 100644 --- a/.github/workflows/team-memory-post-merge.yml +++ b/.github/workflows/team-memory-post-merge.yml @@ -23,22 +23,14 @@ jobs: github.event.forced == false }} runs-on: ubuntu-latest timeout-minutes: 10 + permissions: + contents: read + actions: write steps: - - name: Get token to dispatch 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: ${{ steps.dispatch-token.outputs.token }} + dispatch-token: ${{ github.token }} coordinator-repository: microsoft/vscode-java-pack coordinator-workflow: team-memory-coordinator.yml coordinator-ref: main