Repository navigation
Avoid redundant bulk comparisons in team-memory requests (#52) #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dispatch IssueLens team memory (opt-in) | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: {} | |
| jobs: | |
| dispatch: | |
| if: >- | |
| vars.ISSUELENS_TEAM_MEMORY_ENABLED == 'true' && | |
| github.repository == 'microsoft/IssueLens' && | |
| github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && | |
| github.event_name == 'push' && | |
| github.workflow_sha == github.sha && | |
| github.event.created == false && | |
| github.event.deleted == false && | |
| github.event.forced == false | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: read | |
| actions: write | |
| steps: | |
| - name: Queue team-memory request | |
| uses: microsoft/IssueLens/.github/actions/queue-team-memory@296350903a578f3bcd847b34ce85b51e90b4b919 | |
| with: | |
| coordinator-workflow: team-memory-coordinator.yml | |
| coordinator-ref: main | |
| workflow-inputs: >- | |
| {"source_repository":"${{ github.repository }}", | |
| "source_run_id":"${{ github.run_id }}", | |
| "source_run_attempt":"${{ github.run_attempt }}", | |
| "push_before":"${{ github.event.before }}", | |
| "push_after":"${{ github.sha }}"} |