Skip to content
award

GitHub Action

Employer Of The Month

1.1.0 Latest version

Employer Of The Month

award

Employer Of The Month

Add the 🐶 of the month to your wiki

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Employer Of The Month

uses: KirioXX/[email protected]

Learn more about this action in KirioXX/employee-of-the-month-action

Choose a version

Employee of the month docker action

Praise your best boy or girl employee in your docs with a lovely gif every month.

E.G.:

<!--- employe-of-the-month-action: Start --->
## ✨✨ Employee of the month December ✨✨

![Employee of the month](https://media3.giphy.com/media/fGFL53eiN8OAAPWd2I/giphy.gif)
<!--- employe-of-the-month-action: End --->

Inputs

tag-to-search:

Required Tag to search for your employee. Default: "dog"

title:

Required Tag to search for your employee. Default: "✨✨ Employee of the month {{.Month}}✨✨"

page:

Required Page to update. Default: "Home.md"

Environment Variables

GIPHY_API_KEY:

Required Your personal giphy API token. Best to store in your project secrets. Default: ""

GITHUB_TOKEN:

Required Your projects github token. You can use the one that comes from the runner or generate one with limited access. Default: ""

Example usage

on:
  schedule:
    # * is a special character in YAML so you have to quote this string
    - cron: "* 0 1 * *"
...
- name: Employer Of The Month
  uses: KirioXX/[email protected]
  with:
    tag-to-search: "cat"
    title: "{{.Month}} good kitty of the month"
    page: "Home.md"
  env:
    GIPHY_API_KEY: ${{secrets.GIPHY_API_KEY}}
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
...