From 4a8fed785f5eb8db0a66b2b24878ffddebc61fbf Mon Sep 17 00:00:00 2001 From: Nicolas Oudard Date: Tue, 19 Mar 2024 17:55:24 +0100 Subject: [PATCH] add a github action giphy plugin --- .github/workflows/giphy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/giphy.yml diff --git a/.github/workflows/giphy.yml b/.github/workflows/giphy.yml new file mode 100644 index 000000000..5a6d7475e --- /dev/null +++ b/.github/workflows/giphy.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' \ No newline at end of file