Skip to content

Commit

Permalink
add a github action giphy plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kolok committed Mar 19, 2024
1 parent bbb1dad commit 4a8fed7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/giphy.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 4a8fed7

Please sign in to comment.