Skip to content

Commit 3b4ee19

Browse files
committed
revert action changes
1 parent 6764617 commit 3b4ee19

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/bump_cache.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Check Cached Release Cycle
33
on:
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

98
jobs:
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\`\`\`'

0 commit comments

Comments
 (0)