DEV Community

Tejasv Sharma
Tejasv Sharma

Posted on

Rick Astley is back!

My Workflow

A GitHub Action to Rick-Roll innocent people.

Alt Text

Submission Category:

Wacky Wildcards

Yaml File or Link to Code

GitHub logo TejasvOnly / random-rickroll

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

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



Additional Resources / Info

https://github.com/TejasvOnly/rickrolldemo

Top comments (0)