/random-rickroll

GitHub Action to randomly rick-roll people who open an issue on your repository.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Random Rick-Roll

This action comments a gif of Rick Astley when someone opens a new issue.

Inputs

percentage

Required Number of people out of hundred should be rickrolled (set this to 100 if you want to rickroll everyone).

message

Optional Comment message when not rickrolling (No comment would be made if not provided).

GITHUB_TOKEN

Optional Github token of the repository. (Defaults to ${{ github.token }})

Try Opening an issue in this repository : Demo

Example usage

on:
  issues:
    types: [opened]

jobs:
  comment:
    runs-on: ubuntu-latest
    steps:
      - name: Rick Roll
        uses: TejasvOnly/random-rickroll@v1.0
        with:
          percentage: 100