forked from 51Degrees/device-detection-dotnet-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add nightly pipeline dummy and trigger
- Loading branch information
1 parent
6c93e41
commit 59d2654
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Triggers the nightly pipeline on non-main branches, as only pipelines on the | ||
# default branch can be scheduled directly. | ||
name: Nightly Pipeline Prerelease | ||
|
||
on: | ||
schedule: | ||
- cron: '0 2 * * *' | ||
|
||
jobs: | ||
schedule: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: write | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
steps: | ||
- name: Schedule version/4.5 | ||
run: gh workflow run nightly-pipeline.yml --repo '${{ github.repository }}' --ref version/4.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Nightly Pipeline (dummy) | ||
on: workflow_dispatch | ||
jobs: | ||
dummy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "This is a dummy action to allow actions with the same filename to run from other branches" |