Skip to content

TeamCity: Create empty branch off tip of main to aid nightly-testing #745

TeamCity: Create empty branch off tip of main to aid nightly-testing

TeamCity: Create empty branch off tip of main to aid nightly-testing #745

name: "TeamCity: Create empty branch off tip of main to aid nightly-testing"
# To ensure nightly tests/builds run on the same commit, we checkout and create a new branch from main for TeamCity to run builds on. This branch will have the name `nightly-test` and contains the current date at time of creation.
on:
workflow_dispatch:
schedule:
- cron: '0 19 * * *' # 7PM PST
timezone: 'America/Los_Angeles'
jobs:
# uses the same teamcity nightly workflow used in terraform-provider-google
# as well as the default value for DAYS_THRESHOLD
tpg-teamcity-nightly-workflow:
uses: hashicorp/terraform-provider-google/.github/workflows/teamcity-nightly-workflow.yaml@main