This repository was archived by the owner on Feb 14, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork1
The GitHub Action to detect an unmergeable pull request on changing its upstream.
License
NotificationsYou must be signed in to change notification settings
cats-oss/github-action-detect-unmergeable
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- This works asGitHub Actions.
- This detects & mark the pull request is unmergeable by changing its upstream.
- This behaves likehighfive orpopuko
- This action would work if you push some changes to your repository which enables this action.
- Then, this action would check all pull request about whether the pull request is mergeable or not.
- If the pull request is not mergeable (unmergeable), this action do:
- Comment to the pull request about the changeset which might breaks it.
- Change the label for its pull request to mark that it is unmergeable.
- This action can remove the added label if the PR's conflict is resolved by rebasing or others (optional).
- Make easy to know what change breaks your pull request to unmergeable automatically.
- I'd like to know the changeset which breaks our pull request.
Add this example to your GitHub Actionsworkflow configuration.
name:Detect unmergeable PRson:push:branches: -"*"# Ignore all pushing for tagstags: -"!*"# If you'd like to remove the added label by this action automatically# on updating a pull request by pushing changes.# Please recieve this event.pull_request:types:synchronizejobs:detect_unmergeable_pull_request_and_mark_them:runs-on:ubuntu-latestpermissions:contents:nonepull-requests:writesteps: -name:Run the action to detect unmergeable PRs# We recommend to use an arbitary latest version# if you don't have any troubles.# You can also specify `master`, but it sometimes might be broken.uses:cats-oss/github-action-detect-unmergeable@v2env:GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
If you have some troubles, please try to see informationby inserting the below snippet tosteps section for this workflow.
-name:Dump GitHub Contextenv:GITHUB_CONTEXT:${{ toJson(github) }}run:echo "${GITHUB_CONTEXT}"
About
The GitHub Action to detect an unmergeable pull request on changing its upstream.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.