From 33ffd35dc18860c7ee8803ca2411a4d627628dcd Mon Sep 17 00:00:00 2001 From: Danny Lynch <163123370+lynch43@users.noreply.github.com> Date: Fri, 16 Jan 2026 09:29:54 +0000 Subject: [PATCH 1/3] add schedule workflow --- github-actions/templates/schedule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-actions/templates/schedule.yml b/github-actions/templates/schedule.yml index a88231de6..9ae566778 100644 --- a/github-actions/templates/schedule.yml +++ b/github-actions/templates/schedule.yml @@ -1,6 +1,6 @@ on: schedule: - - cron: '*/5 * * * *' + - cron: '*/2 * * * *' jobs: hello_world: From 2a955e525bfed1bbfac6574951e3f14b8b30e046 Mon Sep 17 00:00:00 2001 From: Danny Lynch <163123370+lynch43@users.noreply.github.com> Date: Fri, 16 Jan 2026 09:44:40 +0000 Subject: [PATCH 2/3] add multi event template --- .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 f0d4e7b877aeaf71d9b9d08f5919d77e4f1d1f50 Mon Sep 17 00:00:00 2001 From: Danny Lynch <163123370+lynch43@users.noreply.github.com> Date: Fri, 16 Jan 2026 10:16:41 +0000 Subject: [PATCH 3/3] test manual --- .github/workflows/manual.yml | 32 ++++++++++++++++++++++++++++++++ .vscode/settings.json | 5 +++++ github-actions/templates/mydata | 1 + 3 files changed, 38 insertions(+) create mode 100644 .github/workflows/manual.yml create mode 100644 .vscode/settings.json create mode 100644 github-actions/templates/mydata diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 000000000..081adf3a6 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,32 @@ +name: Manual Trigger with Params + +on: + workflow_dispatch: + inputs: + name: + description: 'Name of the person to greet' + required: true + type: string + greeting: + description: 'Type of greeting' + required: true + type: string + data: + description: 'Base64 encoded content of a file' + required: false + type: string + +jobs: + greet: + runs-on: ubuntu-latest + steps: + - name: Decode File Content + run: | + echo "${{ inputs.data }}" | base64 --decode > ./decoded_file.txt + - name: Display Greeting + run: | + echo "${{ inputs.greeting }}, ${{ inputs.name }}!" + - name: Display File Content + run: | + echo "Contents of the file:" + cat ./decoded_file.txt \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..b242572ef --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ] +} \ No newline at end of file diff --git a/github-actions/templates/mydata b/github-actions/templates/mydata new file mode 100644 index 000000000..1bea4a2ee --- /dev/null +++ b/github-actions/templates/mydata @@ -0,0 +1 @@ +SGVsbG8gTWFycw== \ No newline at end of file