File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Bump v1 Tag on Main
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ bump-v1-tag :
10+ runs-on : blacksmith-2vcpu-ubuntu-2204
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Update v1 tag
18+ run : |
19+ git config user.name github-actions[bot]
20+ git config user.email github-actions[bot]@users.noreply.github.com
21+ git tag -fa v1 -m "Update v1 tag to latest commit on main"
22+ git push origin v1 --force
23+
24+ - name : Send Slack notification on success
25+ uses : slackapi/slack-github-action@v1
26+ with :
27+ payload : |
28+ {
29+ "text": "Updated cache-delete v1 tag to the latest commit on main"
30+ }
31+ env :
32+ SLACK_WEBHOOK_URL : ${{ secrets.CACHE_SLACK_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments