From 0592506502c437d94f0139ab57e9f35ba3c5b23c Mon Sep 17 00:00:00 2001 From: Verdhiya Date: Thu, 27 Aug 2026 11:19:20 +0100 Subject: [PATCH 01/10] Create greetings.yml --- .github/workflows/greetings.yml | 17 +++++++++++++++++ 1 file changed, 17 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..996da6bbd --- /dev/null +++ b/.github/workflows/greetings.yml @@ -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" From b6d3eb3502b3c389eba0b5e3db85afdf9cb65409 Mon Sep 17 00:00:00 2001 From: Verdhiya Date: Thu, 27 Aug 2026 12:31:52 +0100 Subject: [PATCH 02/10] Create schedule.yml --- .github/workflows/schedule.yml | 10 ++++++++++ 1 file changed, 10 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..5185c9d67 --- /dev/null +++ b/.github/workflows/schedule.yml @@ -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 = $(date)" From 103aabf31f9dad70a96e241510a435e59a9999f2 Mon Sep 17 00:00:00 2001 From: Verdhiya Date: Thu, 27 Aug 2026 12:33:27 +0100 Subject: [PATCH 03/10] Update schedule.yml --- .github/workflows/schedule.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 5185c9d67..f3731fe50 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,3 +1,4 @@ +name: Schedule Github Action on: schedule: - cron: '*/2 * * * *' From be4257b63d96774aa4fea70ff1968baf107d347c Mon Sep 17 00:00:00 2001 From: Verdhiya Date: Thu, 27 Aug 2026 12:48:23 +0100 Subject: [PATCH 04/10] Update schedule.yml --- .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 f3731fe50..ac1e05b35 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,7 +1,7 @@ name: Schedule Github Action on: schedule: - - cron: '*/2 * * * *' + - cron: '*/5 * * * *' jobs: hello_world: From 26914ad034626c4faae696d8a37be25f04ad7214 Mon Sep 17 00:00:00 2001 From: Verdhiya Date: Thu, 27 Aug 2026 13:09:52 +0100 Subject: [PATCH 05/10] Create multi-event.yml on main --- .github/workflows/multi-event.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/multi-event.yml diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml new file mode 100644 index 000000000..47b209160 --- /dev/null +++ b/.github/workflows/multi-event.yml @@ -0,0 +1,21 @@ +name: Multi-Event GitHub Actions + +on: + push: + branches: + - main + - dev + pull_request: + branches: + - main + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: Echo Basic Info + run: | + echo "REF: $GITHUB_REF" + echo "Job ID: $GITHUB_JOB" + echo "Action: $GITHUB_ACTION" + echo "Actor: $GITHUB_ACTOR" From 28a106a9c1f0d9a7967dd0b512fc09b6351e4bc5 Mon Sep 17 00:00:00 2001 From: Verdhiya Date: Thu, 27 Aug 2026 13:22:32 +0100 Subject: [PATCH 06/10] Update schedule.yml --- .github/workflows/schedule.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index ac1e05b35..aef15508f 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,5 +1,6 @@ name: Schedule Github Action on: + workflow_dispatch: schedule: - cron: '*/5 * * * *' From 742ad55d588cfd4a38cc6e5625ebf4547259d9aa Mon Sep 17 00:00:00 2001 From: Verdhiya Date: Thu, 27 Aug 2026 13:26:41 +0100 Subject: [PATCH 07/10] Update README.md main --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 43fc9143d..014392e97 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # Github-Examples A repo containing GitHub for programmatic examples + + + + From f5225588747a51c720e3f0f80214ef0d7c08ff1d Mon Sep 17 00:00:00 2001 From: Shubham Verdhiya Date: Thu, 27 Aug 2026 13:41:25 +0100 Subject: [PATCH 08/10] multi-event for main --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 014392e97..a0620f104 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,3 @@ A repo containing GitHub for programmatic examples - - From 9ea4a0a9f1f6aede22517872570ae0a335b294ae Mon Sep 17 00:00:00 2001 From: Shubham Verdhiya Date: Thu, 27 Aug 2026 14:01:57 +0100 Subject: [PATCH 09/10] testing pull request trigger --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index a0620f104..2427a01de 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,18 @@ A repo containing GitHub for programmatic examples + + + + + + + + + + + + + + + From abf093f4fbfec22a49b0b176e3cb300cb11953df Mon Sep 17 00:00:00 2001 From: Shubham Verdhiya Date: Thu, 27 Aug 2026 14:07:18 +0100 Subject: [PATCH 10/10] testing 2 pull request trigger --- README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/README.md b/README.md index 2427a01de..43fc9143d 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,2 @@ # Github-Examples A repo containing GitHub for programmatic examples - - - - - - - - - - - - - - - - -