From 91e0476060c2583cccb0efb94be21d56c9ea52eb Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 18:27:27 +0100 Subject: [PATCH 1/9] 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 2165672672926e98c235164d6154e516c1bcbaae Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 18:36:27 +0100 Subject: [PATCH 2/9] move these to save them for later --- .github/workflows/greetings.yml | 16 ---------------- github-actions/templates/greetings.yml | 1 - 2 files changed, 17 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 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-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 118477479e344b904719287d59d99eba6124502b Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 18:38:12 +0100 Subject: [PATCH 3/9] custom_yaml move --- {.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 f1667da3f40cdad31bc78f27eb042a18c051cd84 Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 20:09:36 +0100 Subject: [PATCH 4/9] schedule --- .github/workflows/schedule.yml | 11 +++++++++++ 1 file changed, 11 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..c29a222b8 --- /dev/null +++ b/.github/workflows/schedule.yml @@ -0,0 +1,11 @@ +on: + schedule: + - cron: '*/5 * * * *' + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: Current time + run: echo "The current server time is $(date)" + From 108125c460540294cd13e0084f3566d9d3b0e2c7 Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 20:12:22 +0100 Subject: [PATCH 5/9] added schedulled workflow --- .github/workflows/schedule.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index c29a222b8..cc2649382 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,3 +1,4 @@ +name: Scheduled workflow on: schedule: - cron: '*/5 * * * *' From 703f66672031557500fb8e2556d57e5286363f6f Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 20:21:17 +0100 Subject: [PATCH 6/9] adding multi-event --- .github/workflows/multi-event.yml | 21 +++++++++++++++++++++ github-actions/templates/multi-event.yml | 19 ------------------- 2 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/multi-event.yml delete mode 100644 github-actions/templates/multi-event.yml diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml new file mode 100644 index 000000000..6b0c5a9b3 --- /dev/null +++ b/.github/workflows/multi-event.yml @@ -0,0 +1,21 @@ +name: Trigger multi event + +on: + push: + branches: + - main + - dev + pull_request: + branches: + - main + +jobs: + Hi_from_developer: + runs-on: ubuntu-latest + steps: + - name: "Echo 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 diff --git a/github-actions/templates/multi-event.yml b/github-actions/templates/multi-event.yml deleted file mode 100644 index a3275be38..000000000 --- a/github-actions/templates/multi-event.yml +++ /dev/null @@ -1,19 +0,0 @@ -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 951e282e166f5cefa84f4fb848867c3a43bb155e Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 20:27:23 +0100 Subject: [PATCH 7/9] simple chnage --- markdown/Secret.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/markdown/Secret.md b/markdown/Secret.md index 85db16f36..5fc095722 100644 --- a/markdown/Secret.md +++ b/markdown/Secret.md @@ -1 +1,2 @@ -**Secret page**s \ No newline at end of file +**Secret page**s +I made simple change on branch dev From 4beaaf3e676fd377c782d0455f10b4f8b0395360 Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 20:34:44 +0100 Subject: [PATCH 8/9] trigger the event on push of dev --- markdown/Secret.md | 1 + 1 file changed, 1 insertion(+) diff --git a/markdown/Secret.md b/markdown/Secret.md index 5fc095722..9bae14420 100644 --- a/markdown/Secret.md +++ b/markdown/Secret.md @@ -1,2 +1,3 @@ **Secret page**s I made simple change on branch dev +this is second change to trigger the event \ No newline at end of file From d8e9a0592fd190b995bc99116abe6c29daece113 Mon Sep 17 00:00:00 2001 From: Adham Salaydinov Date: Thu, 15 Jan 2026 20:37:02 +0100 Subject: [PATCH 9/9] trigger event on push of d --- markdown/Secret.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/markdown/Secret.md b/markdown/Secret.md index 9bae14420..bdffd2e74 100644 --- a/markdown/Secret.md +++ b/markdown/Secret.md @@ -1,3 +1,7 @@ **Secret page**s I made simple change on branch dev -this is second change to trigger the event \ No newline at end of file +<<<<<<< HEAD + +This is second change to trigger the event on push of dev +====== +>>>>>>> 4beaaf3e676fd377c782d0455f10b4f8b0395360 \ No newline at end of file