File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 99 secrets :
1010 GH_REPO_TOKEN :
1111 required : true
12+
1213jobs :
1314 check-branch :
1415 runs-on : ubuntu-latest
@@ -20,10 +21,10 @@ jobs:
2021 if [[ $GITHUB_REF == *"offline-mode"* ]]; then
2122 echo "should_run=true" >> $GITHUB_OUTPUT
2223 else
23- echo "should_run=true " >> $GITHUB_OUTPUT
24+ echo "should_run=false " >> $GITHUB_OUTPUT
2425 fi
2526 shell : bash
26-
27+
2728 call-workflow-build :
2829 needs : check-branch
2930 if : needs.check-branch.outputs.should_run == 'true'
3334
3435 call-workflow-release :
3536 needs : [check-branch, call-workflow-build]
36- if : needs.check-branch.outputs.should_run == 'true'
37+ if : needs.check-branch.outputs.should_run == 'true' && github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')
3738 uses : adafruit/Adafruit_Wippersnapper_Arduino/.github/workflows/release-callee.yml@main
You can’t perform that action at this time.
0 commit comments