From 69922428296302d6a37dae48fd61f8d80c06cddc Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Mon, 3 Aug 2026 15:07:35 +0300 Subject: [PATCH 1/9] 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..086fdc5c1 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues, push] + +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 644de162a50c023510173f2ef354151005d311e6 Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Mon, 3 Aug 2026 15:12:48 +0300 Subject: [PATCH 2/9] Update custom-action.yml --- .github/workflows/custom-action.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/custom-action.yml b/.github/workflows/custom-action.yml index 7a87b53f1..f5a2dc6c7 100644 --- a/.github/workflows/custom-action.yml +++ b/.github/workflows/custom-action.yml @@ -12,4 +12,16 @@ jobs: name: 'Brown' # Use the output from the `hello` step - name: Get the Output - run: echo "The time was ${{ steps.hello.outputs.greeting }}" \ No newline at end of file + run: echo "The time was ${{ steps.hello.outputs.greeting }}" + + omars-job: + runs-on: ubuntu-latest + name: Omar is trying random things + steps: + - name: Say good bye lol + id: GoodBye + uses: omenking/barsoom@0.0.6 + with: + name: Omar + - name: Print lol + run: echo "The time leaving is ${{ steps.GoodBye.outputs.greeting }}" From 038562cc9b372a3604505f45bf06aae8ea7b4d11 Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Mon, 3 Aug 2026 16:41:09 +0400 Subject: [PATCH 3/9] testing schedule.yml --- .github/workflows/greetings.yml | 16 ---------------- .github/workflows/schedule.yml | 10 ++++++++++ .../templates}/custom-action.yml | 0 github-actions/templates/greetings.yml | 3 +-- 4 files changed, 11 insertions(+), 18 deletions(-) delete mode 100644 .github/workflows/greetings.yml create mode 100644 .github/workflows/schedule.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 086fdc5c1..000000000 --- a/.github/workflows/greetings.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Greetings - -on: [pull_request_target, issues, push] - -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/schedule.yml b/.github/workflows/schedule.yml new file mode 100644 index 000000000..9314560e0 --- /dev/null +++ b/.github/workflows/schedule.yml @@ -0,0 +1,10 @@ +on: + schedule: + - cron: '45 16 * * *' + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: Echo current time + run: echo "The current server time is $(date)" 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..086fdc5c1 100644 --- a/github-actions/templates/greetings.yml +++ b/github-actions/templates/greetings.yml @@ -1,6 +1,6 @@ name: Greetings -on: [pull_request_target, issues] +on: [pull_request_target, issues, push] jobs: greeting: @@ -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 834f067d321724d7cc7cb8282430fd33a8134ae4 Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Mon, 3 Aug 2026 16:46:29 +0400 Subject: [PATCH 4/9] changed cron expression --- .github/workflows/schedule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 9314560e0..4186413d9 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,6 +1,6 @@ on: schedule: - - cron: '45 16 * * *' + - cron: '*/1 * * * *' jobs: hello_world: From 0292960e8922627b184102428dfc6c72d18a3c08 Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Mon, 3 Aug 2026 17:10:09 +0400 Subject: [PATCH 5/9] cehckign out --- .github/workflows/multi-event.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..b14798315 --- /dev/null +++ b/.github/workflows/multi-event.yml @@ -0,0 +1,21 @@ +name: "Multiple event checker" + +on: + push: + branches: + - main + - tryout + 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 d95ea14b0c748e84242c02439a215ff607aefd7f Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Tue, 4 Aug 2026 10:57:54 +0400 Subject: [PATCH 6/9] multi event tryout --- .github/workflows/multi-event.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml index b14798315..8e382cfbc 100644 --- a/.github/workflows/multi-event.yml +++ b/.github/workflows/multi-event.yml @@ -1,10 +1,11 @@ -name: "Multiple event checker" +name: "Multiple Event Checker" on: push: branches: - main - tryout + pull_request: branches: - main @@ -13,9 +14,8 @@ 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 + - name: "Printing" + run: + echo "HelloWorld!" + echo "Actor: $GITHUB_ACTOR" + From 916c921f72c300929f722516e5bfc96b272b63b6 Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Tue, 4 Aug 2026 10:58:28 +0400 Subject: [PATCH 7/9] removed colon --- .github/workflows/multi-event.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/multi-event.yml b/.github/workflows/multi-event.yml index 8e382cfbc..2b90acfe0 100644 --- a/.github/workflows/multi-event.yml +++ b/.github/workflows/multi-event.yml @@ -17,5 +17,5 @@ jobs: - name: "Printing" run: echo "HelloWorld!" - echo "Actor: $GITHUB_ACTOR" + echo "Actor $GITHUB_ACTOR" From 3898431c75336675dbb01b6a879cd2baab2e1bb0 Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Tue, 4 Aug 2026 11:05:48 +0400 Subject: [PATCH 8/9] checking --- .github/workflows/multiple-events.yml | 21 +++++++++++++++++++++ .github/workflows/schedule.yml | 10 ---------- github-actions/Readme.me | 3 ++- 3 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/multiple-events.yml delete mode 100644 .github/workflows/schedule.yml diff --git a/.github/workflows/multiple-events.yml b/.github/workflows/multiple-events.yml new file mode 100644 index 000000000..8e382cfbc --- /dev/null +++ b/.github/workflows/multiple-events.yml @@ -0,0 +1,21 @@ +name: "Multiple Event Checker" + +on: + push: + branches: + - main + - tryout + + pull_request: + branches: + - main + +jobs: + hello_world: + runs-on: ubuntu-latest + steps: + - name: "Printing" + run: + echo "HelloWorld!" + echo "Actor: $GITHUB_ACTOR" + diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml deleted file mode 100644 index 4186413d9..000000000 --- a/.github/workflows/schedule.yml +++ /dev/null @@ -1,10 +0,0 @@ -on: - schedule: - - cron: '*/1 * * * *' - -jobs: - hello_world: - runs-on: ubuntu-latest - steps: - - name: Echo current time - run: echo "The current server time is $(date)" diff --git a/github-actions/Readme.me b/github-actions/Readme.me index 9be613aad..50c88a293 100644 --- a/github-actions/Readme.me +++ b/github-actions/Readme.me @@ -13,4 +13,5 @@ curl -X POST \ -H "Authorization: token {PAT} \ -d '{"event_type": "webhook", "client_payload": {"key": "value"} }' \ https://api.github.com/repos/{owner}/{repo}/dispatches -``` \ No newline at end of file +``` + From 9b5fbf0758dc98634074ba21021256d30bdeeb0f Mon Sep 17 00:00:00 2001 From: Omar Ibrahimov Date: Tue, 4 Aug 2026 10:07:34 +0300 Subject: [PATCH 9/9] Update multiple-events.yml --- .github/workflows/multiple-events.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/multiple-events.yml b/.github/workflows/multiple-events.yml index 8e382cfbc..2b90acfe0 100644 --- a/.github/workflows/multiple-events.yml +++ b/.github/workflows/multiple-events.yml @@ -17,5 +17,5 @@ jobs: - name: "Printing" run: echo "HelloWorld!" - echo "Actor: $GITHUB_ACTOR" + echo "Actor $GITHUB_ACTOR"