From ad3168f6e4856d3bc58e0c907df5220f21f3ab1d Mon Sep 17 00:00:00 2001 From: shc1331 <107432579+shc1331@users.noreply.github.com> Date: Sun, 21 Sep 2025 17:34:05 -0400 Subject: [PATCH 01/10] Create greetings.yml --- .github/workflows/greetings.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 000000000..46774343e --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - 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" From d2d057d9bb8394515e7e8fb66b3be6cc97838f60 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Sun, 21 Sep 2025 18:00:39 -0400 Subject: [PATCH 02/10] add test schedule action --- .github/workflows/schedule.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/schedule.yml diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml new file mode 100644 index 000000000..2622c7a8f --- /dev/null +++ b/.github/workflows/schedule.yml @@ -0,0 +1,12 @@ +name: Schedule test + +on: + schedule: + - cron: '*/2 * * * *' + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: Echo current time + run: echo "The current server time is $(date)" From c379bd5f65c227aa2633657d8177a7ba85f2b1d8 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Sun, 21 Sep 2025 18:04:17 -0400 Subject: [PATCH 03/10] update schedule --- .github/workflows/schedule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 2622c7a8f..34ba3ec76 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -2,7 +2,7 @@ name: Schedule test on: schedule: - - cron: '*/2 * * * *' + - cron: '*/1 * * * *' jobs: hello_world: From b364d04d7da5d9606e10fd862c0ff86888ef867f Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Sun, 21 Sep 2025 18:06:57 -0400 Subject: [PATCH 04/10] modify schedule --- .github/workflows/schedule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 34ba3ec76..2622c7a8f 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -2,7 +2,7 @@ name: Schedule test on: schedule: - - cron: '*/1 * * * *' + - cron: '*/2 * * * *' jobs: hello_world: From 7e3f911dae9c7bbf17901e297f3ea1692c8b52a7 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Sun, 21 Sep 2025 18:18:44 -0400 Subject: [PATCH 05/10] add ability to trigger schedule manually --- .github/workflows/schedule.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 2622c7a8f..424a7a06e 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -3,6 +3,7 @@ name: Schedule test on: schedule: - cron: '*/2 * * * *' + workflow_dispatch jobs: hello_world: From 497ebe775b295aa3f643a41b4030509111c39c67 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Sun, 21 Sep 2025 18:19:27 -0400 Subject: [PATCH 06/10] add ability to trigger schedule manually --- .github/workflows/schedule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 424a7a06e..e7d1a52ce 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -3,7 +3,7 @@ name: Schedule test on: schedule: - cron: '*/2 * * * *' - workflow_dispatch + workflow_dispatch: jobs: hello_world: From adbc6512b4d86f63b37ba716a5e2af999b34dbd6 Mon Sep 17 00:00:00 2001 From: shc1331 <107432579+shc1331@users.noreply.github.com> Date: Sun, 21 Sep 2025 18:26:58 -0400 Subject: [PATCH 07/10] commit multi event template --- .../custom-action.yml | 0 .github/workflows/multi-event.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+) rename .github/{workflows => ISSUE_TEMPLATE}/custom-action.yml (100%) create mode 100644 .github/workflows/multi-event.yml diff --git a/.github/workflows/custom-action.yml b/.github/ISSUE_TEMPLATE/custom-action.yml similarity index 100% rename from .github/workflows/custom-action.yml rename to .github/ISSUE_TEMPLATE/custom-action.yml diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml new file mode 100644 index 000000000..a3275be38 --- /dev/null +++ b/.github/workflows/multi-event.yml @@ -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" \ No newline at end of file From a4ea74b88b3e6b49d16e0a6dac33bce8531170a7 Mon Sep 17 00:00:00 2001 From: shc1331 <107432579+shc1331@users.noreply.github.com> Date: Sun, 21 Sep 2025 18:28:51 -0400 Subject: [PATCH 08/10] add name --- .github/workflows/multi-event.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml index a3275be38..41ed81e0f 100644 --- a/.github/workflows/multi-event.yml +++ b/.github/workflows/multi-event.yml @@ -1,3 +1,5 @@ +name: Multi-event test + on: push: branches: From c998a18f3ecd41cd3a752693844ad87db0678b10 Mon Sep 17 00:00:00 2001 From: shc1331 <107432579+shc1331@users.noreply.github.com> Date: Sun, 21 Sep 2025 18:34:09 -0400 Subject: [PATCH 09/10] change name --- .github/workflows/multi-event.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml index 41ed81e0f..d60364b47 100644 --- a/.github/workflows/multi-event.yml +++ b/.github/workflows/multi-event.yml @@ -1,4 +1,4 @@ -name: Multi-event test +name: Multi-event test 2 on: push: From 8c7665efafa83d08d1c993e95a005f243dd63903 Mon Sep 17 00:00:00 2001 From: shc1331 <107432579+shc1331@users.noreply.github.com> Date: Sun, 21 Sep 2025 18:34:40 -0400 Subject: [PATCH 10/10] change name again --- .github/workflows/multi-event.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml index d60364b47..1530661b9 100644 --- a/.github/workflows/multi-event.yml +++ b/.github/workflows/multi-event.yml @@ -1,4 +1,4 @@ -name: Multi-event test 2 +name: Multi-event test final on: push: