Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add a reminder to manually deploy merged changes #373

Merged
merged 4 commits into from
Jul 10, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: '@JacobCoffee Don\'t forget to pull the latest changes on `salt.nyc1.psf.io`!'
JacobCoffee marked this conversation as resolved.
Show resolved Hide resolved
JacobCoffee marked this conversation as resolved.
Show resolved Hide resolved
})
Loading