File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 - cron : ' 0 22 * * *'
1212
1313permissions :
14+ actions : write
1415 contents : write
1516
1617jobs :
18+ pre_job :
19+ continue-on-error : true
20+ runs-on : ubuntu-latest
21+ outputs :
22+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
23+ steps :
24+ - id : skip_check
25+ uses : fkirc/skip-duplicate-actions@v5
26+ with :
27+ # All of these options are optional, so you can remove them if you are happy with the defaults
28+ concurrent_skipping : ' never'
29+ skip_after_successful_duplicate : ' true'
30+ paths_ignore : ' ["**/README.md", "**/docs/**"]'
31+ do_not_skip : ' ["pull_request", "workflow_dispatch"]'
1732 build :
18-
33+ needs : pre_job
34+ if : needs.pre_job.outputs.should_skip != 'true'
1935 runs-on : ubuntu-latest
20-
2136 steps :
2237 - uses : actions/checkout@v3
2338 - name : Set up JDK 17
You can’t perform that action at this time.
0 commit comments