diff --git a/.github/workflows/team-memory-coordinator.yml b/.github/workflows/team-memory-coordinator.yml index c30a309a..3e35ec18 100644 --- a/.github/workflows/team-memory-coordinator.yml +++ b/.github/workflows/team-memory-coordinator.yml @@ -43,8 +43,7 @@ jobs: github.repository == 'microsoft/vscode-java-pack' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.ref_protected && - github.event_name == 'workflow_dispatch' && - inputs.source_repository == 'microsoft/vscode-java-pack' + github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest timeout-minutes: 45 permissions: @@ -52,17 +51,14 @@ jobs: pull-requests: read actions: read id-token: write - env: - ISSUELENS_SOURCE_REPOSITORIES: >- - {"microsoft/vscode-java-pack":104967329} steps: - name: Reconcile team memory and validate final receipts uses: microsoft/IssueLens/.github/actions/issuelens@61a9e9a5ff2f9514a3bdd351a0721235cd0a2813 with: request-type: team-memory github-token: ${{ github.token }} - source-repository: microsoft/vscode-java-pack - source-repositories: ${{ env.ISSUELENS_SOURCE_REPOSITORIES }} + source-repository: ${{ inputs.source_repository }} + source-repositories: ${{ vars.ISSUELENS_SOURCE_REPOSITORIES || '{}' }} source-github-token: ${{ github.token }} source-run-id: ${{ inputs.source_run_id }} source-run-attempt: ${{ inputs.source_run_attempt }} diff --git a/.github/workflows/team-memory-post-merge.yml b/.github/workflows/team-memory-post-merge.yml index e307c36f..e05e3a5b 100644 --- a/.github/workflows/team-memory-post-merge.yml +++ b/.github/workflows/team-memory-post-merge.yml @@ -25,7 +25,7 @@ jobs: actions: write steps: - name: Queue team-memory update - uses: microsoft/IssueLens/.github/actions/queue-team-memory@b88dadd40754d640cbb82f4d9a5e9d36e8386981 + uses: microsoft/IssueLens/.github/actions/queue-team-memory@61a9e9a5ff2f9514a3bdd351a0721235cd0a2813 with: coordinator-repository: microsoft/vscode-java-pack coordinator-workflow: team-memory-coordinator.yml