Skip to content

.github/workflows/teamcity-nightly-sweeper.yaml #63

.github/workflows/teamcity-nightly-sweeper.yaml

.github/workflows/teamcity-nightly-sweeper.yaml #63

name: "TeamCity: Remove branches used for nightly test"
# TeamCity should use a newly created branches that matches the pattern `nightly-test` and is the only branch matching that pattern. We rename past nightly test branches to avoid there being more than one `nightly-test` branch (i.e. only one branch that matches the filter (+:nightly-test). This workflow also removes renamed branches once they get past a certain age.
on:
workflow_dispatch:
schedule:
- cron: '0 9 * * *' # UTC 9AM (-7)-> 2PM PST
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-sweeper.yaml@main

Check failure on line 14 in .github/workflows/teamcity-nightly-sweeper.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/teamcity-nightly-sweeper.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/teamcity-nightly-sweeper.yaml" -> "hashicorp/terraform-provider-google/.github/workflows/teamcity-nightly-sweeper.yaml@main" : failed to fetch workflow: workflow was not found.