GitHub Actions Bot to label pull requests with custom label on merge
🙋♂️ Made by @abhijithvijayan
Bot will add merge label to the PR once it's merged
❤️ it? ⭐️ it on GitHub or Tweet about it.
You can use PR Merge Bot by configuring a YAML-based workflow file, e.g. .github/workflows/label-pr-on-merge-bot.yml
.
name: Label PR on Merge Bot Action
on:
pull_request:
types: [ closed ]
jobs:
label_pr_job:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Label PR on Merge Bot
uses: abhijithvijayan/label-pr-on-merge-bot@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
merged_label: '🚀 merged'
Looking to contribute? Look for the Good First Issue label.
Please file an issue here for bugs, missing documentation, or unexpected behavior.
Run ncc to build into single file and release a new version from Releases
on GitHub:
yarn build
yarn package
- Shared Eslint & Prettier Configuration -
@abhijithvijayan/eslint-config
- Shared TypeScript Configuration -
@abhijithvijayan/tsconfig
MIT © Abhijith Vijayan