Skip to content

Commit 453d090

Browse files
🩹 [Patch]: Add nightly run to validate that functionality still works (#3)
## Description This pull request includes changes to the GitHub Actions workflow configuration and a minor update to the action script path format. Changes to GitHub Actions workflow configuration: * [`.github/workflows/Action-Test.yml`](diffhunk://#diff-a12ae5c885b0673c0ff6f70c2670886907590d624626e07da4c52e01aeaf56a4L5-R9): Added `workflow_dispatch` and `schedule` triggers to the workflow configuration to allow manual triggering and scheduled runs. Updates to action script path format: * [`action.yml`](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L29-R29): Updated the script path format from `"$env:GITHUB_ACTION_PATH\scripts\main.ps1"` to `"${{ github.action_path }}\scripts\main.ps1"`. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent c13c5a1 commit 453d090

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/Action-Test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ name: Action-Test
22

33
run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
44

5-
on: [pull_request]
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
schedule:
9+
- cron: '0 0 * * *'
610

711
concurrency:
812
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/Linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ jobs:
2727
uses: super-linter/super-linter/slim@latest
2828
env:
2929
GITHUB_TOKEN: ${{ github.token }}
30+
VALIDATE_MARKDOWN_PRETTIER: false
31+
VALIDATE_YAML_PRETTIER: false

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ runs:
2626
GITHUB_ACTION_INPUT_IssueBody: ${{ inputs.IssueBody }}
2727
run: |
2828
# Get-IssueFormData
29-
. "$env:GITHUB_ACTION_PATH\scripts\main.ps1" -Verbose
29+
. "${{ github.action_path }}\scripts\main.ps1" -Verbose

0 commit comments

Comments
 (0)