Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/.keep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

17 changes: 17 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
# https://github.com/actions/first-interaction
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Message that will be displayed on users' first issue"
pr-message: "Message that will be displayed on users' first pull request"
19 changes: 19 additions & 0 deletions .github/workflows/multi-event.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main

jobs:
hello_world:
runs-on: ubuntu-latest
steps:
- name: "Echo Basic Information"
run: |
echo "REF: $GITHUB_REF"
echo "Job ID: $GITHUB_JOB"
echo "Action: $GITHUB_ACTION"
echo "Actor: $GITHUB_ACTOR"
10 changes: 10 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
on:
schedule:
- cron: '*/2 * * * *'

jobs:
hello_world:
runs-on: ubuntu-latest
steps:
- name: Echo current time
run: echo "The current server time is $(date)"
2 changes: 1 addition & 1 deletion github-actions/templates/schedule.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
schedule:
- cron: '*/5 * * * *'
- cron: '*/2 * * * *'

jobs:
hello_world:
Expand Down