From db49edb9c0a3e684de796bcbe39a99fbda648374 Mon Sep 17 00:00:00 2001 From: gsingh1998 <58475644+gsingh1998@users.noreply.github.com> Date: Thu, 24 Oct 2024 19:13:06 +0200 Subject: [PATCH 1/7] 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 82692d776eea0249e4bc8cd8994d45befd2be113 Mon Sep 17 00:00:00 2001 From: gsingh1998 <58475644+gsingh1998@users.noreply.github.com> Date: Thu, 24 Oct 2024 19:23:22 +0200 Subject: [PATCH 2/7] move these to save them for later --- {.github/workflows => github-actions/templates}/custom-action.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {.github/workflows => github-actions/templates}/custom-action.yml (100%) diff --git a/.github/workflows/custom-action.yml b/github-actions/templates/custom-action.yml similarity index 100% rename from .github/workflows/custom-action.yml rename to github-actions/templates/custom-action.yml From 87961cdf7d517d0cd26f126dc69acd14e0be61ec Mon Sep 17 00:00:00 2001 From: gsingh1998 <58475644+gsingh1998@users.noreply.github.com> Date: Thu, 24 Oct 2024 21:16:14 +0200 Subject: [PATCH 3/7] add schedule workflow --- .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..a88231de6 --- /dev/null +++ b/.github/workflows/schedule.yml @@ -0,0 +1,10 @@ +on: + schedule: + - cron: '*/5 * * * *' + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: Echo current time + run: echo "The current server time is $(date)" From 190a49ed46275b1f99cd1e13f5ab7d6a13804e54 Mon Sep 17 00:00:00 2001 From: gsingh1998 <58475644+gsingh1998@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:42:25 +0200 Subject: [PATCH 4/7] trigger workflow on dev --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 43fc9143d..907b2e127 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # Github-Examples A repo containing GitHub for programmatic examples + \ No newline at end of file From 3ab988d69ea395f00cba1c234defa23d150a9682 Mon Sep 17 00:00:00 2001 From: gsingh1998 <58475644+gsingh1998@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:45:49 +0200 Subject: [PATCH 5/7] trigger workflow event --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 907b2e127..81ca653f1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Github-Examples A repo containing GitHub for programmatic examples - \ No newline at end of file + \ No newline at end of file From d504759dd4c0730aa37821a5a08fad713e16b00f Mon Sep 17 00:00:00 2001 From: gsingh1998 <58475644+gsingh1998@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:52:45 +0200 Subject: [PATCH 6/7] trigger event on push on dev --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81ca653f1..a79eb9c6b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Github-Examples A repo containing GitHub for programmatic examples - \ No newline at end of file + \ No newline at end of file From 8a1ed4138b5049c1db5d740630942d3f0a59f25d Mon Sep 17 00:00:00 2001 From: gsingh1998 <58475644+gsingh1998@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:54:43 +0200 Subject: [PATCH 7/7] trigger event on push 2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a79eb9c6b..6840ccd13 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Github-Examples A repo containing GitHub for programmatic examples - \ No newline at end of file + \ No newline at end of file