From 885511ce79a3dba44f785a18b9690a487b936e62 Mon Sep 17 00:00:00 2001 From: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:24:54 -0700 Subject: [PATCH] activate rc nightly (#3013) --- .../nightly-acceptance-1-3-0-rc1.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/nightly-acceptance-1-3-0-rc1.yml diff --git a/.github/workflows/nightly-acceptance-1-3-0-rc1.yml b/.github/workflows/nightly-acceptance-1-3-0-rc1.yml new file mode 100644 index 0000000000..ad2b373ca4 --- /dev/null +++ b/.github/workflows/nightly-acceptance-1-3-0-rc1.yml @@ -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 }}" }'