From e6bd08ee94249ed11e34a5fb7ddf588006048816 Mon Sep 17 00:00:00 2001 From: Jakke Date: Tue, 17 Feb 2026 22:55:54 +0200 Subject: [PATCH 1/4] Add GitHub Actions workflow for greetings --- .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 df5bb2423e1a33b67dedeff05fb8ed97d2744767 Mon Sep 17 00:00:00 2001 From: Jarno Laitinen Date: Wed, 18 Feb 2026 19:53:14 +0200 Subject: [PATCH 2/4] Try 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)" From ae5cf5f66d1ed7d5f99db01ffad88f422bc7c786 Mon Sep 17 00:00:00 2001 From: Jarno Laitinen Date: Wed, 18 Feb 2026 20:07:50 +0200 Subject: [PATCH 3/4] Add GitHub Actions workflow for multi-event handling --- .github/workflows/multi-event.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..a3275be38 --- /dev/null +++ b/.github/workflows/multi-event.yml @@ -0,0 +1,19 @@ +on: + push: + branches: + - main + - dev + pull_request: + branches: + - main + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: "Echo Basic Information" + run: | + echo "REF: $GITHUB_REF" + echo "Job ID: $GITHUB_JOB" + echo "Action: $GITHUB_ACTION" + echo "Actor: $GITHUB_ACTOR" \ No newline at end of file From a0a2d834550ad6e6f41d728ed433078dcd005955 Mon Sep 17 00:00:00 2001 From: Jarno Laitinen Date: Wed, 18 Feb 2026 20:12:41 +0200 Subject: [PATCH 4/4] Add PR number echo to GitHub Actions workflow --- github-actions/templates/multi-event.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github-actions/templates/multi-event.yml b/github-actions/templates/multi-event.yml index a3275be38..ab54ffe33 100644 --- a/github-actions/templates/multi-event.yml +++ b/github-actions/templates/multi-event.yml @@ -16,4 +16,5 @@ jobs: echo "REF: $GITHUB_REF" echo "Job ID: $GITHUB_JOB" echo "Action: $GITHUB_ACTION" - echo "Actor: $GITHUB_ACTOR" \ No newline at end of file + echo "Actor: $GITHUB_ACTOR" + echo "PR Number: ${{ github.event.pull_request.number }}" \ No newline at end of file