Skip to content

Commit

Permalink
create sleepcat github action
Browse files Browse the repository at this point in the history
  • Loading branch information
amandaguan-ag committed May 11, 2024
1 parent c85aabb commit 657e34b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/sleepycats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: sleepy cats 😴
# on key is trigger when pull request is opened or repoened
on:
pull_request:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
types:
- opened
- reopened

# defining what is going to run when the action is triggered
jobs:
sleepCatJob:
# what shows up when it is triggered
name: A fablous cat to cheer up on PR
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
runs-on: ubuntu-latest
steps:
-uses: ruairidhwm/[email protected]
with:
# key GITHUB_TOKEN:, expression ${{}}, context scerets.GITHUB_TOKEN - alive for duration of workflow
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 657e34b

Please sign in to comment.