From 3142e4099ec07fd27ff2d36b44f0c1618a3ea127 Mon Sep 17 00:00:00 2001 From: SAI MANDA <142603052+sai-manda@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:09:38 +1100 Subject: [PATCH 1/2] 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..01333a000 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request] + +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 1" + pr-message: "Message 2" From 19938797a6efd080eecadc23132cb4a2f39a47f2 Mon Sep 17 00:00:00 2001 From: SAI MANDA <142603052+sai-manda@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:39:20 +1100 Subject: [PATCH 2/2] Commiting 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..9ae566778 --- /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 is $(date)"