From 8f17117ef6c1fa85d1013cac860ce8f08be141af Mon Sep 17 00:00:00 2001 From: Alexander Melo Date: Wed, 19 Mar 2025 15:38:03 -0400 Subject: [PATCH 1/5] 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 5303a75863e4e7462a3fde2ba785898cb344386c Mon Sep 17 00:00:00 2001 From: Alexander Melo Date: Wed, 19 Mar 2025 15:55:25 -0400 Subject: [PATCH 2/5] move these to change them for later --- .github/workflows/greetings.yml | 16 ---------------- .../templates}/custom-action.yml | 0 github-actions/templates/greetings.yml | 1 - 3 files changed, 17 deletions(-) delete mode 100644 .github/workflows/greetings.yml rename {.github/workflows => github-actions/templates}/custom-action.yml (100%) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml deleted file mode 100644 index 46774343e..000000000 --- a/.github/workflows/greetings.yml +++ /dev/null @@ -1,16 +0,0 @@ -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" 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 diff --git a/github-actions/templates/greetings.yml b/github-actions/templates/greetings.yml index 996da6bbd..46774343e 100644 --- a/github-actions/templates/greetings.yml +++ b/github-actions/templates/greetings.yml @@ -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 }} From eaea8a3b06c04ec32fb71bc65eeb87146769acac Mon Sep 17 00:00:00 2001 From: Alexander Melo Date: Wed, 19 Mar 2025 16:17:52 -0400 Subject: [PATCH 3/5] add schedule --- {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..4186413d9 100644 --- a/github-actions/templates/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,6 +1,6 @@ on: schedule: - - cron: '*/5 * * * *' + - cron: '*/1 * * * *' jobs: hello_world: From 8e72453dcfd4afe9dd1c3c6624e2b8c0eddad196 Mon Sep 17 00:00:00 2001 From: Alexander Melo Date: Wed, 19 Mar 2025 16:18:19 -0400 Subject: [PATCH 4/5] add name --- .github/workflows/schedule.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 4186413d9..aad2ac56f 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,3 +1,5 @@ +name: Schedule + on: schedule: - cron: '*/1 * * * *' From e1d8669db4dca44426efadedbd875d9033507618 Mon Sep 17 00:00:00 2001 From: Alexander Melo Date: Wed, 19 Mar 2025 16:23:53 -0400 Subject: [PATCH 5/5] multi 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