Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action workflow creates a cat surprise gif #923

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading