add a github action giphy plugin #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
issues: | |
types: [opened, edited] | |
pull_request: | |
types: [opened, edited] | |
issue_comment: | |
types: [created, edited] | |
name: GIPHY Generator | |
jobs: | |
giphy-generator: | |
name: GIPHY Generator | |
runs-on: ubuntu-latest | |
steps: | |
- name: GIPHY Generator | |
id: giphy_generator | |
uses: iamhughes/giphy-generator@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
GIPHY_TOKEN: ${{ secrets.GIPHY_TOKEN }} # This token should be created on giphy.com: https://developers.giphy.com/dashboard/?create=true | |
with: | |
rating: 'g' | |
lang: 'en' |