From bcbfa5f7b0a4daccccb807b1c177fe6ca7c39679 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 13:46:35 +0200 Subject: [PATCH 01/14] workflows removed --- .../03-core-features--01-hello-world.yaml | 0 .../03-core-features--02-step-types.yaml | 0 .../03-core-features--03-workflows-jobs-steps.yaml | 0 .../03-core-features--04-triggers-and-filters.yaml | 0 .../03-core-features--05-environment-variables.yaml | 0 .../03-core-features--06-passing-data.yaml | 0 .../03-core-features--07-secrets-and-variables.yaml | 0 .../04-advanced-features--01-runner-types.yaml | 0 .../04-advanced-features--02-artifacts.yaml | 0 .../04-advanced-features--03-caching.yaml | 0 .../04-advanced-features--04-github-permissions.yaml | 0 .../04-advanced-features--05-third-party-auth.yaml | 0 .../04-advanced-features--06-matrix-and-conditionals.yaml | 0 .../04-advanced-features--07-dynamic-matrix.yaml | 0 .../04-advanced-features--08-workflow-commands.yaml | 0 .../06-authoring-actions--01-composite-action.yaml | 0 .../06-authoring-actions--02-reuseable-workflows-source.yaml | 0 .../06-authoring-actions--03-reuseable-workflows-caller.yaml | 0 .../06-authoring-actions--04-javascript-actions.yaml | 0 .../06-authoring-actions--05-container-actions.yaml | 0 .../08-developer-experience--01-externalize-logic.yaml | 0 .../08-developer-experience--02-ssh-breakpoint.yaml | 0 .../08-developer-experience--03-debug-env-vars.yaml | 0 .../09-best-practices--01-cache-benchmark.yaml | 0 24 files changed, 0 insertions(+), 0 deletions(-) rename .github/{workflows => _workflows}/03-core-features--01-hello-world.yaml (100%) rename .github/{workflows => _workflows}/03-core-features--02-step-types.yaml (100%) rename .github/{workflows => _workflows}/03-core-features--03-workflows-jobs-steps.yaml (100%) rename .github/{workflows => _workflows}/03-core-features--04-triggers-and-filters.yaml (100%) rename .github/{workflows => _workflows}/03-core-features--05-environment-variables.yaml (100%) rename .github/{workflows => _workflows}/03-core-features--06-passing-data.yaml (100%) rename .github/{workflows => _workflows}/03-core-features--07-secrets-and-variables.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--01-runner-types.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--02-artifacts.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--03-caching.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--04-github-permissions.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--05-third-party-auth.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--06-matrix-and-conditionals.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--07-dynamic-matrix.yaml (100%) rename .github/{workflows => _workflows}/04-advanced-features--08-workflow-commands.yaml (100%) rename .github/{workflows => _workflows}/06-authoring-actions--01-composite-action.yaml (100%) rename .github/{workflows => _workflows}/06-authoring-actions--02-reuseable-workflows-source.yaml (100%) rename .github/{workflows => _workflows}/06-authoring-actions--03-reuseable-workflows-caller.yaml (100%) rename .github/{workflows => _workflows}/06-authoring-actions--04-javascript-actions.yaml (100%) rename .github/{workflows => _workflows}/06-authoring-actions--05-container-actions.yaml (100%) rename .github/{workflows => _workflows}/08-developer-experience--01-externalize-logic.yaml (100%) rename .github/{workflows => _workflows}/08-developer-experience--02-ssh-breakpoint.yaml (100%) rename .github/{workflows => _workflows}/08-developer-experience--03-debug-env-vars.yaml (100%) rename .github/{workflows => _workflows}/09-best-practices--01-cache-benchmark.yaml (100%) diff --git a/.github/workflows/03-core-features--01-hello-world.yaml b/.github/_workflows/03-core-features--01-hello-world.yaml similarity index 100% rename from .github/workflows/03-core-features--01-hello-world.yaml rename to .github/_workflows/03-core-features--01-hello-world.yaml diff --git a/.github/workflows/03-core-features--02-step-types.yaml b/.github/_workflows/03-core-features--02-step-types.yaml similarity index 100% rename from .github/workflows/03-core-features--02-step-types.yaml rename to .github/_workflows/03-core-features--02-step-types.yaml diff --git a/.github/workflows/03-core-features--03-workflows-jobs-steps.yaml b/.github/_workflows/03-core-features--03-workflows-jobs-steps.yaml similarity index 100% rename from .github/workflows/03-core-features--03-workflows-jobs-steps.yaml rename to .github/_workflows/03-core-features--03-workflows-jobs-steps.yaml diff --git a/.github/workflows/03-core-features--04-triggers-and-filters.yaml b/.github/_workflows/03-core-features--04-triggers-and-filters.yaml similarity index 100% rename from .github/workflows/03-core-features--04-triggers-and-filters.yaml rename to .github/_workflows/03-core-features--04-triggers-and-filters.yaml diff --git a/.github/workflows/03-core-features--05-environment-variables.yaml b/.github/_workflows/03-core-features--05-environment-variables.yaml similarity index 100% rename from .github/workflows/03-core-features--05-environment-variables.yaml rename to .github/_workflows/03-core-features--05-environment-variables.yaml diff --git a/.github/workflows/03-core-features--06-passing-data.yaml b/.github/_workflows/03-core-features--06-passing-data.yaml similarity index 100% rename from .github/workflows/03-core-features--06-passing-data.yaml rename to .github/_workflows/03-core-features--06-passing-data.yaml diff --git a/.github/workflows/03-core-features--07-secrets-and-variables.yaml b/.github/_workflows/03-core-features--07-secrets-and-variables.yaml similarity index 100% rename from .github/workflows/03-core-features--07-secrets-and-variables.yaml rename to .github/_workflows/03-core-features--07-secrets-and-variables.yaml diff --git a/.github/workflows/04-advanced-features--01-runner-types.yaml b/.github/_workflows/04-advanced-features--01-runner-types.yaml similarity index 100% rename from .github/workflows/04-advanced-features--01-runner-types.yaml rename to .github/_workflows/04-advanced-features--01-runner-types.yaml diff --git a/.github/workflows/04-advanced-features--02-artifacts.yaml b/.github/_workflows/04-advanced-features--02-artifacts.yaml similarity index 100% rename from .github/workflows/04-advanced-features--02-artifacts.yaml rename to .github/_workflows/04-advanced-features--02-artifacts.yaml diff --git a/.github/workflows/04-advanced-features--03-caching.yaml b/.github/_workflows/04-advanced-features--03-caching.yaml similarity index 100% rename from .github/workflows/04-advanced-features--03-caching.yaml rename to .github/_workflows/04-advanced-features--03-caching.yaml diff --git a/.github/workflows/04-advanced-features--04-github-permissions.yaml b/.github/_workflows/04-advanced-features--04-github-permissions.yaml similarity index 100% rename from .github/workflows/04-advanced-features--04-github-permissions.yaml rename to .github/_workflows/04-advanced-features--04-github-permissions.yaml diff --git a/.github/workflows/04-advanced-features--05-third-party-auth.yaml b/.github/_workflows/04-advanced-features--05-third-party-auth.yaml similarity index 100% rename from .github/workflows/04-advanced-features--05-third-party-auth.yaml rename to .github/_workflows/04-advanced-features--05-third-party-auth.yaml diff --git a/.github/workflows/04-advanced-features--06-matrix-and-conditionals.yaml b/.github/_workflows/04-advanced-features--06-matrix-and-conditionals.yaml similarity index 100% rename from .github/workflows/04-advanced-features--06-matrix-and-conditionals.yaml rename to .github/_workflows/04-advanced-features--06-matrix-and-conditionals.yaml diff --git a/.github/workflows/04-advanced-features--07-dynamic-matrix.yaml b/.github/_workflows/04-advanced-features--07-dynamic-matrix.yaml similarity index 100% rename from .github/workflows/04-advanced-features--07-dynamic-matrix.yaml rename to .github/_workflows/04-advanced-features--07-dynamic-matrix.yaml diff --git a/.github/workflows/04-advanced-features--08-workflow-commands.yaml b/.github/_workflows/04-advanced-features--08-workflow-commands.yaml similarity index 100% rename from .github/workflows/04-advanced-features--08-workflow-commands.yaml rename to .github/_workflows/04-advanced-features--08-workflow-commands.yaml diff --git a/.github/workflows/06-authoring-actions--01-composite-action.yaml b/.github/_workflows/06-authoring-actions--01-composite-action.yaml similarity index 100% rename from .github/workflows/06-authoring-actions--01-composite-action.yaml rename to .github/_workflows/06-authoring-actions--01-composite-action.yaml diff --git a/.github/workflows/06-authoring-actions--02-reuseable-workflows-source.yaml b/.github/_workflows/06-authoring-actions--02-reuseable-workflows-source.yaml similarity index 100% rename from .github/workflows/06-authoring-actions--02-reuseable-workflows-source.yaml rename to .github/_workflows/06-authoring-actions--02-reuseable-workflows-source.yaml diff --git a/.github/workflows/06-authoring-actions--03-reuseable-workflows-caller.yaml b/.github/_workflows/06-authoring-actions--03-reuseable-workflows-caller.yaml similarity index 100% rename from .github/workflows/06-authoring-actions--03-reuseable-workflows-caller.yaml rename to .github/_workflows/06-authoring-actions--03-reuseable-workflows-caller.yaml diff --git a/.github/workflows/06-authoring-actions--04-javascript-actions.yaml b/.github/_workflows/06-authoring-actions--04-javascript-actions.yaml similarity index 100% rename from .github/workflows/06-authoring-actions--04-javascript-actions.yaml rename to .github/_workflows/06-authoring-actions--04-javascript-actions.yaml diff --git a/.github/workflows/06-authoring-actions--05-container-actions.yaml b/.github/_workflows/06-authoring-actions--05-container-actions.yaml similarity index 100% rename from .github/workflows/06-authoring-actions--05-container-actions.yaml rename to .github/_workflows/06-authoring-actions--05-container-actions.yaml diff --git a/.github/workflows/08-developer-experience--01-externalize-logic.yaml b/.github/_workflows/08-developer-experience--01-externalize-logic.yaml similarity index 100% rename from .github/workflows/08-developer-experience--01-externalize-logic.yaml rename to .github/_workflows/08-developer-experience--01-externalize-logic.yaml diff --git a/.github/workflows/08-developer-experience--02-ssh-breakpoint.yaml b/.github/_workflows/08-developer-experience--02-ssh-breakpoint.yaml similarity index 100% rename from .github/workflows/08-developer-experience--02-ssh-breakpoint.yaml rename to .github/_workflows/08-developer-experience--02-ssh-breakpoint.yaml diff --git a/.github/workflows/08-developer-experience--03-debug-env-vars.yaml b/.github/_workflows/08-developer-experience--03-debug-env-vars.yaml similarity index 100% rename from .github/workflows/08-developer-experience--03-debug-env-vars.yaml rename to .github/_workflows/08-developer-experience--03-debug-env-vars.yaml diff --git a/.github/workflows/09-best-practices--01-cache-benchmark.yaml b/.github/_workflows/09-best-practices--01-cache-benchmark.yaml similarity index 100% rename from .github/workflows/09-best-practices--01-cache-benchmark.yaml rename to .github/_workflows/09-best-practices--01-cache-benchmark.yaml From 22a4fda3ed9a033af9d32626fe970d09a2d7b650 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 14:19:31 +0200 Subject: [PATCH 02/14] Hello World --- .github/.workflows/helllo-world.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/.workflows/helllo-world.yaml diff --git a/.github/.workflows/helllo-world.yaml b/.github/.workflows/helllo-world.yaml new file mode 100644 index 00000000..e69de29b From 3b057d0fc8b6c2ce0e77fdb3f896399e1510c513 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 14:21:07 +0200 Subject: [PATCH 03/14] Hello World --- .github/.workflows/helllo-world.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/.workflows/helllo-world.yaml b/.github/.workflows/helllo-world.yaml index e69de29b..93a37f68 100644 --- a/.github/.workflows/helllo-world.yaml +++ b/.github/.workflows/helllo-world.yaml @@ -0,0 +1,10 @@ +name: Hello World + +on: + push: + +jobs: + say-hello-inline-bash: + runs-on: ubuntu-24.04 + steps: + - run: echo "Hello, World" From d44666662ebd5025c7fd2b0d477fd40dcc3d3113 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 14:22:59 +0200 Subject: [PATCH 04/14] Hello World 1 --- .github/{.workflows => workflows}/helllo-world.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{.workflows => workflows}/helllo-world.yaml (100%) diff --git a/.github/.workflows/helllo-world.yaml b/.github/workflows/helllo-world.yaml similarity index 100% rename from .github/.workflows/helllo-world.yaml rename to .github/workflows/helllo-world.yaml From 00d12f3ac923db9c4e138f069f94ede150bc9d1d Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 14:29:24 +0200 Subject: [PATCH 05/14] Workflow Dispatch --- .github/workflows/helllo-world.yaml | 2 +- git-push.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 git-push.sh diff --git a/.github/workflows/helllo-world.yaml b/.github/workflows/helllo-world.yaml index 93a37f68..c617b8e6 100644 --- a/.github/workflows/helllo-world.yaml +++ b/.github/workflows/helllo-world.yaml @@ -1,7 +1,7 @@ name: Hello World on: - push: + workflow_dispatch: jobs: say-hello-inline-bash: diff --git a/git-push.sh b/git-push.sh new file mode 100755 index 00000000..deb15dfa --- /dev/null +++ b/git-push.sh @@ -0,0 +1,6 @@ +#!bin/bash + +git add . +read -p "Enter commit message: " choice +git commit -m "$choice" +git push origin main From 05c9507f9b4d0fda7791ef7498b70de4d27ccea8 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 14:31:08 +0200 Subject: [PATCH 06/14] Lets see --- .github/workflows/helllo-world.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helllo-world.yaml b/.github/workflows/helllo-world.yaml index c617b8e6..d8e36df8 100644 --- a/.github/workflows/helllo-world.yaml +++ b/.github/workflows/helllo-world.yaml @@ -7,4 +7,4 @@ jobs: say-hello-inline-bash: runs-on: ubuntu-24.04 steps: - - run: echo "Hello, World" + - run: echo "Hello, World from inline bash script!" From 81417265a6aca36ffd17581b855bb11f264b0ed5 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 14:52:36 +0200 Subject: [PATCH 07/14] Phyton script --- .github/workflows/helllo-world.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helllo-world.yaml b/.github/workflows/helllo-world.yaml index d8e36df8..6ca922be 100644 --- a/.github/workflows/helllo-world.yaml +++ b/.github/workflows/helllo-world.yaml @@ -7,4 +7,17 @@ jobs: say-hello-inline-bash: runs-on: ubuntu-24.04 steps: - - run: echo "Hello, World from inline bash script!" + - run: echo "Hello, World from inline bash script in a GitHub Actions Workflow!" + + say-hello-inline-python: + runs-on: ubuntu-24.04 + steps: + - run: print("Hello, World from inline Python script! in a GitHub Actions Workflow!") + shell: python + + say-hello-action: + runs-on: ubuntu-24.04 + steps: + - uses: actions/hello-world-javascript-action@v1 + with: + who-to-greet: "Hello, World from a JavaScript Action in a GitHub Actions Workflow!" From 666a2ef93f9155446793a733a54ec01f8cc3aa3c Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 15:07:48 +0200 Subject: [PATCH 08/14] Jobs and Steps --- ...{helllo-world.yaml => 1-helllo-world.yaml} | 0 .github/workflows/2-core-features.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+) rename .github/workflows/{helllo-world.yaml => 1-helllo-world.yaml} (100%) create mode 100644 .github/workflows/2-core-features.yaml diff --git a/.github/workflows/helllo-world.yaml b/.github/workflows/1-helllo-world.yaml similarity index 100% rename from .github/workflows/helllo-world.yaml rename to .github/workflows/1-helllo-world.yaml diff --git a/.github/workflows/2-core-features.yaml b/.github/workflows/2-core-features.yaml new file mode 100644 index 00000000..4d9e6798 --- /dev/null +++ b/.github/workflows/2-core-features.yaml @@ -0,0 +1,31 @@ +name: Workflows, Jobs, and Steps + +on: + workflow_dispatch: + +jobs: + job-1: + runs-on: ubuntu-24.04 + steps: + - run: echo "This is job consists of " + - run: echo "one or more steps" + - run: echo "Which run sequentially" + - run: echo "within the same compute environment" + job-2: + runs-on: ubuntu-24.04 + steps: + - run: echo "Multiple jobs can run in parallel" + job-3: + runs-on: ubuntu-24.04 + needs: + - job-1 + - job-2 + steps: + - run: echo "They can also depend on one another" + job-4: + runs-on: ubuntu-24.04 + needs: + - job-2 + - job-3 + steps: + - run: echo "... to from a directed acyclic graph (DAG) of jobs" From 8ddb9b328f3f3ee6992741d744ad9f805b527d65 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 17:40:50 +0200 Subject: [PATCH 09/14] Events --- .../workflows/{2-core-features.yaml => 2-core-features-1.yaml} | 0 .github/workflows/2-core-features-2-triggers-and-filters.yaml | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{2-core-features.yaml => 2-core-features-1.yaml} (100%) create mode 100644 .github/workflows/2-core-features-2-triggers-and-filters.yaml diff --git a/.github/workflows/2-core-features.yaml b/.github/workflows/2-core-features-1.yaml similarity index 100% rename from .github/workflows/2-core-features.yaml rename to .github/workflows/2-core-features-1.yaml diff --git a/.github/workflows/2-core-features-2-triggers-and-filters.yaml b/.github/workflows/2-core-features-2-triggers-and-filters.yaml new file mode 100644 index 00000000..e69de29b From fb98f7074dc1a005086855857e073be552b94a2b Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 17:44:25 +0200 Subject: [PATCH 10/14] .md modified --- 03-core-features/filters/included-file.md | 1 + 1 file changed, 1 insertion(+) diff --git a/03-core-features/filters/included-file.md b/03-core-features/filters/included-file.md index e69de29b..862c81f2 100644 --- a/03-core-features/filters/included-file.md +++ b/03-core-features/filters/included-file.md @@ -0,0 +1 @@ +This needs trigger the workflow \ No newline at end of file From bab32303d5a682727e974cd17dd8351c7d43c82c Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 17:46:57 +0200 Subject: [PATCH 11/14] .md modified again --- ...-core-features-2-triggers-and-filters.yaml | 0 .../workflows/2-core-features-2-triggers.yaml | 28 +++++++++++++++++++ 2 files changed, 28 insertions(+) delete mode 100644 .github/workflows/2-core-features-2-triggers-and-filters.yaml create mode 100644 .github/workflows/2-core-features-2-triggers.yaml diff --git a/.github/workflows/2-core-features-2-triggers-and-filters.yaml b/.github/workflows/2-core-features-2-triggers-and-filters.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/.github/workflows/2-core-features-2-triggers.yaml b/.github/workflows/2-core-features-2-triggers.yaml new file mode 100644 index 00000000..56f0b99c --- /dev/null +++ b/.github/workflows/2-core-features-2-triggers.yaml @@ -0,0 +1,28 @@ +name: Triggering Events + +on: + push: + branches: + - main + pull_request: + types: + - opened + - synchronize + - reopened + paths: + # include markdown files + - "03-core-features/filters/*.md" + #exclude txt files + - "!03-core-features/filters/*.txt" + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + echo-event: + runs-on: ubuntu-24.04 + steps: + - name: Dump full event JSON + run: | + echo "=== $GITHUB_EVENT_NAME payload ===" + echo "${{ toJson(github.event) }}" From 7e6015aa3d163579be6bc9a989913d9612d7ed62 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 17:48:52 +0200 Subject: [PATCH 12/14] .md modified 3rd time --- 03-core-features/filters/included-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03-core-features/filters/included-file.md b/03-core-features/filters/included-file.md index 862c81f2..83d34922 100644 --- a/03-core-features/filters/included-file.md +++ b/03-core-features/filters/included-file.md @@ -1 +1 @@ -This needs trigger the workflow \ No newline at end of file +This needs trigger the workflow I am again modifing this file \ No newline at end of file From acba3a986ed3b4299ccc39fe6557f58fd64da910 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 17:51:57 +0200 Subject: [PATCH 13/14] modifed workflow dipatch --- .github/workflows/2-core-features-2-triggers.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/2-core-features-2-triggers.yaml b/.github/workflows/2-core-features-2-triggers.yaml index 56f0b99c..1ef3b445 100644 --- a/.github/workflows/2-core-features-2-triggers.yaml +++ b/.github/workflows/2-core-features-2-triggers.yaml @@ -16,6 +16,7 @@ on: - "!03-core-features/filters/*.txt" schedule: - cron: "0 0 * * *" + # I am modifying the workflow_dispatch event to include an input parameter workflow_dispatch: jobs: From 4066dd69ceed007a4a148268fcfacdc9c4cd9043 Mon Sep 17 00:00:00 2001 From: adkham01 Date: Wed, 9 Sep 2026 17:54:57 +0200 Subject: [PATCH 14/14] master branch --- .../workflows/2-core-features-2-triggers.yaml | 23 +++++++++++++------ 03-core-features/filters/included-file.md | 3 ++- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/2-core-features-2-triggers.yaml b/.github/workflows/2-core-features-2-triggers.yaml index 1ef3b445..86b5b5b3 100644 --- a/.github/workflows/2-core-features-2-triggers.yaml +++ b/.github/workflows/2-core-features-2-triggers.yaml @@ -1,10 +1,17 @@ name: Triggering Events +# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows on: + ### https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#push push: branches: - - main + # Filter patterns cheat sheet: + # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet + - "master" + + ### https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request pull_request: + ## The default is to trigger on the following types of events: types: - opened - synchronize @@ -12,13 +19,15 @@ on: paths: # include markdown files - "03-core-features/filters/*.md" - #exclude txt files + # Exclude txt files - "!03-core-features/filters/*.txt" - schedule: - - cron: "0 0 * * *" - # I am modifying the workflow_dispatch event to include an input parameter - workflow_dispatch: + ### https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule + # schedule: + # - cron: "0 0 * * *" # Midnight UTC + + ## Manual Trigger + workflow_dispatch: jobs: echo-event: runs-on: ubuntu-24.04 @@ -26,4 +35,4 @@ jobs: - name: Dump full event JSON run: | echo "=== $GITHUB_EVENT_NAME payload ===" - echo "${{ toJson(github.event) }}" + cat "$GITHUB_EVENT_PATH" diff --git a/03-core-features/filters/included-file.md b/03-core-features/filters/included-file.md index 83d34922..efa43033 100644 --- a/03-core-features/filters/included-file.md +++ b/03-core-features/filters/included-file.md @@ -1 +1,2 @@ -This needs trigger the workflow I am again modifing this file \ No newline at end of file +Modified again +3rd time \ No newline at end of file