Skip to content

karancode/funghaction

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

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Funghaction (Fun Gtihub Action) (Pronounced as fung-action 🎆)

Funghaction comments any random quote/joke/fact to your Pull Request comment. 😎 😆 😲

Success Criteria

An exit code of 0 is considered a successful execution.

Usage

The most common usage is to use Funghaction with fun type random. This will randomly chose either of quote/joke/fact. Acorrdingly a comment will be posted to the pull request depending on the fun typ. This workflow can be configured by adding the following content to the GitHub Actions workflow YAML file.

name: 'Funghaction'
on:
  - pull_request
jobs:
  fun:
    name: 'Fun'
    runs-on: ubuntu-latest
    steps:
      - name: 'Fun'
        uses: karancode/funghaction@42
        env:
            GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }}

Just it! 😁

Input

  • fun - (Optional)) Fun type. One of [quote,fact,joke].

Output

  • fun_ouput - The Funghaction comment content.

About

Fun Github Action

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published