Skip to content

Commit 88a6583

Browse files
authored
ci: add a reminder to manually deploy merged changes (#373)
* ci: add a reminder to manually deploy merged changes * ci: use latest version * Update .github/workflows/deployminder.yml
1 parent 1c4125d commit 88a6583

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deployminder.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Remind to Pull Latest Changes
2+
3+
on:
4+
pull_request:
5+
types:
6+
- closed
7+
branches:
8+
- main
9+
10+
jobs:
11+
remind:
12+
if: github.event.pull_request.merged == true
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Comment on PR
16+
uses: actions/github-script@v7
17+
with:
18+
github-token: ${{secrets.GITHUB_TOKEN}}
19+
script: |
20+
github.rest.issues.createComment({
21+
issue_number: context.issue.number,
22+
owner: context.repo.owner,
23+
repo: context.repo.repo,
24+
body: 'Don\'t forget to pull the latest changes on `salt.nyc1.psf.io`!'
25+
})

0 commit comments

Comments
 (0)