From d5ee7db94416342666db4e5bfe4bb0f0008828b2 Mon Sep 17 00:00:00 2001 From: Sozhavendhan Manickam Date: Sun, 5 Oct 2025 12:43:01 +0530 Subject: [PATCH 1/4] Create greetings.yml --- .github/workflows/greetings.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..55fa6375e --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,18 @@ +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 938dbfa1890db3e841712f07857747a004de5b6c Mon Sep 17 00:00:00 2001 From: Sozhavendhan Manickam Date: Sun, 5 Oct 2025 15:24:25 +0530 Subject: [PATCH 2/4] move the WF to save for later use --- .github/workflows/greetings.yml | 18 ------------------ github-actions/templates/greetings.yml | 3 ++- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml deleted file mode 100644 index 55fa6375e..000000000 --- a/.github/workflows/greetings.yml +++ /dev/null @@ -1,18 +0,0 @@ -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" diff --git a/github-actions/templates/greetings.yml b/github-actions/templates/greetings.yml index 996da6bbd..55fa6375e 100644 --- a/github-actions/templates/greetings.yml +++ b/github-actions/templates/greetings.yml @@ -9,7 +9,8 @@ jobs: issues: write pull-requests: write steps: - # https://github.com/actions/first-interaction + # https://github.com/actions/first-interaction + - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} From 7e1d6473db988479d51eed45774bb1d6a333382d Mon Sep 17 00:00:00 2001 From: Sozhavendhan Manickam Date: Sun, 5 Oct 2025 18:56:46 +0530 Subject: [PATCH 3/4] add schedule workflow --- {github-actions/templates => .github/workflows}/schedule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {github-actions/templates => .github/workflows}/schedule.yml (86%) diff --git a/github-actions/templates/schedule.yml b/.github/workflows/schedule.yml similarity index 86% rename from github-actions/templates/schedule.yml rename to .github/workflows/schedule.yml index a88231de6..9ae566778 100644 --- a/github-actions/templates/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,6 +1,6 @@ on: schedule: - - cron: '*/5 * * * *' + - cron: '*/2 * * * *' jobs: hello_world: From 0cd947e22c8cca606453a591b9a964517c817cbc Mon Sep 17 00:00:00 2001 From: Sozhavendhan Manickam Date: Sun, 5 Oct 2025 21:05:46 +0530 Subject: [PATCH 4/4] Mutli event template --- {github-actions/templates => .github/workflows}/multi-event.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {github-actions/templates => .github/workflows}/multi-event.yml (100%) diff --git a/github-actions/templates/multi-event.yml b/.github/workflows/multi-event.yml similarity index 100% rename from github-actions/templates/multi-event.yml rename to .github/workflows/multi-event.yml