Skip to content

Commit

Permalink
ci: add nightly pipeline dummy and trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
pi-alexander-popel committed Dec 2, 2024
1 parent 6c93e41 commit 59d2654
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/nightly-pipeline-prerelease.yml
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
7 changes: 7 additions & 0 deletions .github/workflows/nightly-pipeline.yml
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"

0 comments on commit 59d2654

Please sign in to comment.