Post GIF as comments for PRs based on type of the PR. Checkout this sample PR
This action uses advanced NLP to detect whether the PR is feature or fix.
Lol! Just kidding! It just matches with fix
, feat
in the title of the PR.
name: PR
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
branches: [ master ]
jobs:
pr_check:
runs-on: ubuntu-latest
name: A job to Post comment on PR
steps:
- uses: actions/checkout@v2
- name: PR Action
uses: koushikmohan1996/action-pr-gifs@master
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Nothing much! Just create a PR!