https://github.com/caremessageplatform/check-if-merged
https://github.com/caremessageplatform/check-if-merged
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/caremessageplatform/check-if-merged
- Owner: CareMessagePlatform
- Created: 2019-12-20T21:12:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-29T12:25:20.000Z (over 1 year ago)
- Last Synced: 2025-06-11T02:07:04.553Z (12 months ago)
- Language: JavaScript
- Size: 472 KB
- Stars: 0
- Watchers: 16
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# check-if-merged GH Action
## Uses:
create at your repo root path: .github/workflows/check_if_merged.yml with:
```
name: Check if branch is merged to staging
on:
push:
branches-ignore:
- 'master'
- 'staging'
jobs:
check-if-merged:
runs-on: ubuntu-latest
steps:
- uses: CareMessagePlatform/check-if-merged@v2
```
## make changes
To make the changes valid, you need to build again using `yarn build` to make the distribution version. Run: `yarn build` command, commit the dist files and tag them properly.
## ncc
See why we need to compile all the dependencies in one single JS script: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github