Skip to content

Commit

Permalink
ci: add a reminder to manually deploy merged changes (#373)
Browse files Browse the repository at this point in the history
* ci: add a reminder to manually deploy merged changes

* ci: use latest version

* Update .github/workflows/deployminder.yml
  • Loading branch information
JacobCoffee authored Jul 10, 2024
1 parent 1c4125d commit 88a6583
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deployminder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Remind to Pull Latest Changes

on:
pull_request:
types:
- closed
branches:
- main

jobs:
remind:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Comment on PR
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Don\'t forget to pull the latest changes on `salt.nyc1.psf.io`!'
})

0 comments on commit 88a6583

Please sign in to comment.