Created
June 2, 2023 17:47
-
-
Save miguelmota/a12702765eab3f45357bc8ad489b81d4 to your computer and use it in GitHub Desktop.
Github action run on pull request merge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hello-world | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
my-job: | |
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: my-step | |
run: echo "Hello World!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment