Skip to content
camera

GitHub Action

PR gif generator

V1.1 Latest version

PR gif generator

camera

PR gif generator

Post GIF as comments for PRs based on type of the PR

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PR gif generator

uses: KMKoushik/action-pr-gifs@V1.1

Learn more about this action in KMKoushik/action-pr-gifs

Choose a version

action-pr-gifs test

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.

Sample usage

 
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 }}

contributing

Nothing much! Just create a PR!