Skip to content
Closed

Dev #470

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
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"
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
on:
schedule:
- cron: '*/5 * * * *'
- cron: '*/2 * * * *'

jobs:
hello_world:
runs-on: ubuntu-latest
steps:
- name: Echo current time
run: echo "The current server time is $(date)"
run: echo "The current server time is $(date)"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Github-Examples
A repo containing GitHub for programmatic examples

1 change: 0 additions & 1 deletion github-actions/templates/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
issues: write
pull-requests: write
steps:
# https://github.com/actions/first-interaction
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down