File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed
Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ name: Check Cached Release Cycle
33on :
44 workflow_dispatch :
55 schedule :
6- # EOLs are currently scheduled for 20xx-10-01
7- - cron : " 0 14 2 1,4,7,10 *"
6+ - cron : " 0 14 14 1,4,7,10 *"
87
98jobs :
109 bump-cache :
@@ -41,14 +40,12 @@ jobs:
4140 echo EOF
4241 } >> "$GITHUB_OUTPUT"
4342
44- - name : Set Date
45- id : date
46- run :
47- echo "today=$(date +"%Y-%m-%d")" >> "$GITHUB_OUTPUT"
48-
49- - name : Create Pull Request If Bumped
50- uses : peter-evans/create-pull-request@v7
51- with :
52- branch : " bump-cache"
53- title : " chore: update release cycle cache (${{ steps.date.outputs.today }})"
54- commit-message : " chore: update release cycle cache (${{ steps.date.outputs.today }})"
43+ - name : Open Issue If Bumped
44+ if : ${{ steps.bump.outputs.RES != ''}}
45+ env :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47+ run : |
48+ today=$(date +"%Y-%m-%d")
49+ gh issue create \
50+ --title "($today) Release Cycle Cache Outdated" \
51+ --body '\`\`\`diff\n${{ steps.report.outputs.RES }}\n\`\`\`'
You can’t perform that action at this time.
0 commit comments