File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,14 @@ jobs:
45
45
echo "::warning::Not enough rate limits!"
46
46
if [ "${{github.event_name != 'schedule'}}" == "true" ]; then
47
47
echo "::warning::Executing anyway, as event is '${{github.event_name}}'"
48
+ echo 'enough=true' >> $GITHUB_OUTPUT
49
+ else
50
+ echo 'enough=false' >> $GITHUB_OUTPUT
48
51
fi
49
- echo 'enough=false' >> $GITHUB_OUTPUT
50
52
fi
51
53
52
54
- name : Sync with template repository
53
- if : ${{env.PUSH_BACK_TOKEN && (github.event_name != 'schedule' || fromJSON(steps.decision.outputs.enough) == true) }}
55
+ if : ${{env.PUSH_BACK_TOKEN && fromJSON(steps.decision.outputs.enough) == true}}
54
56
uses : remal-github-actions/sync-with-template@v3
55
57
with :
56
58
githubToken : ${{env.PUSH_BACK_TOKEN}}
You can’t perform that action at this time.
0 commit comments