From e2b7f3ce642c35e806ceb63664bdf12d498394a0 Mon Sep 17 00:00:00 2001 From: Fresh Teacher Date: Sun, 10 Jul 2022 04:08:00 -0700 Subject: [PATCH] create giphy generator workflow /giphy this is so cool --- .github/workflows/giphy-generator.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/giphy-generator.yml diff --git a/.github/workflows/giphy-generator.yml b/.github/workflows/giphy-generator.yml new file mode 100644 index 00000000000..6a8bdf0eee7 --- /dev/null +++ b/.github/workflows/giphy-generator.yml @@ -0,0 +1,24 @@ +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'