Funghaction comments any random quote/joke/fact to your Pull Request comment. 😎 😆 😲
An exit code of 0 is considered a successful execution.
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! 😁
fun- (Optional)) Fun type. One of [quote,fact,joke].
fun_ouput- The Funghaction comment content.