Skip to content

A GitHub Action that adds a comment on a PR whenever someone merges their own Pull Request.

License

Notifications You must be signed in to change notification settings

xShteff/Self-Reward-Actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self Reward Actions

A simple GitHub Action that posts this image whenever someone merges their own Pull Request:

image

Example Workflow

name: PR Test
on: 
 pull_request:
    types: [closed] 
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: xShteff/Self-Reward-Actions@v2
      env:
       GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       IMAGE_URL: https://media.tenor.com/images/9da8bb145d928fb9e53772588622ca53/tenor.gif
       MEME_HEADER: ${{ env.GITHUB_ACTOR }} just merged their own PR! Shame!

Required variables

This Action requires you have the GITHUB_TOKEN secret set up, so it can post the comment on the PR.

Why?

Why not?

Inspiration

I've pretty much combined two already existing repos to create this. Feel free to support them however you want :3

About

A GitHub Action that adds a comment on a PR whenever someone merges their own Pull Request.

Resources

License

Stars

Watchers

Forks

Packages

No packages published