Skip to content

flywheel-digital/check-merged-action

 
 

Repository files navigation

Check Merged

Check if it has been merged.

Demo

Usage:

The action works only with pull_request event.

Inputs

  • token - The GITHUB_TOKEN secret.
  • originBranch - Origin branch. (default: staging)
  • title - Error message. (default: # :anger: Not merged!)

Example

name: Check merged
on:
  pull_request:
    branches:
      - master

jobs:
  check-staging:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - uses: SonicGarden/check-merged-action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

About

Check if it has been merged.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 72.3%
  • Python 19.2%
  • JavaScript 8.5%