-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c39328
commit 885511c
Showing
1 changed file
with
26 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,26 @@ | ||
# Dispatch to the consul-k8s-workflows with a nightly cron | ||
name: nightly-acceptance | ||
on: | ||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
# Run nightly at 12AM UTC/8PM EST/5PM PST | ||
- cron: '0 0 * * *' | ||
|
||
# these should be the only settings that you will ever need to change | ||
env: | ||
BRANCH: "release/1.3.0-rc1" | ||
CONTEXT: "nightly" | ||
|
||
jobs: | ||
cloud: | ||
name: cloud | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385 # v1.2.2 | ||
name: cloud | ||
with: | ||
workflow: cloud.yml | ||
repo: hashicorp/consul-k8s-workflows | ||
ref: main | ||
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }} | ||
inputs: '{ "context":"${{ env.CONTEXT }}", "repository":"${{ github.repository }}", "branch":"${{ env.BRANCH }}", "sha":"${{ github.sha }}", "token":"${{ secrets.ELEVATED_GITHUB_TOKEN }}" }' |