Update report #937
Workflow file for this run
This file contains 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: Skip Duplicate | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
jobs: | |
pre_job: | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./ | |
id: skip_check | |
with: | |
concurrent_skipping: 'never' | |
# skip_after_successful_duplicate: 'true' | |
# paths_ignore: '["**/README.md", "**/docs/**"]' | |
# do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' | |
cancel_others: true | |
main_job_not_skipped: | |
needs: pre_job | |
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "There is something to do here (not skipped)" | |
main_job_skipped: | |
needs: pre_job | |
if: ${{ needs.pre_job.outputs.should_skip == 'true' }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "There is nothing to do here (skipped)" |