Skip to content

Commit 1e3973f

Browse files
🩹 [Patch]: Add schedule and workflow_dispatch (#4)
## Description - Adding a scheduled run for detecting if the action fails for some reason. - Adding ability to run adhoc using workflow_dispatch. ## 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 a4eccb4 commit 1e3973f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.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 }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ runs:
2929
Verbose: true
3030
Script: |
3131
# Debug environment
32-
. "${{ github.action_path }}\scripts\main.ps1" -Verbose
32+
. "${{ github.action_path }}\scripts\main.ps1"

0 commit comments

Comments
 (0)