We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e531d03 commit a1ff56dCopy full SHA for a1ff56d
.github/workflows/stage-build.yml
@@ -65,12 +65,19 @@ permissions:
65
id-token: write
66
67
jobs:
68
+ trigger:
69
+ runs-on: ubuntu-latest
70
+ if: ${{ github.repository == 'mdn/yari' && github.event.schedule != '' }}
71
+ steps:
72
+ # The schedule runs the `main` version, but we want the `next` version.
73
+ - run: gh workflow run "${{ github.workflow }}" --ref "${{ env.DEFAULT_REF }}"
74
+
75
build:
76
environment: stage
77
runs-on: ubuntu-latest
78
79
# Only run the scheduled workflows on the main repo.
- if: github.repository == 'mdn/yari'
80
+ if: ${{ github.repository == 'mdn/yari' && github.event.schedule == '' }}
81
82
steps:
83
# Our usecase is a bit complicated. When the cron schedule runs this workflow,
0 commit comments