Skip to content

Instantly share code, notes, and snippets.

@DWboutin
Created October 14, 2022 17:04
Show Gist options
  • Save DWboutin/79274141950b3d37645501a4e144e779 to your computer and use it in GitHub Desktop.
Save DWboutin/79274141950b3d37645501a4e144e779 to your computer and use it in GitHub Desktop.
GH Actions when pull request is merged in main
name: Merged
on:
pull_request:
branches: [main]
types:
- closed
jobs:
is_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- run: echo "It's started"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment