diff --git a/.github/workflows/check-upstream-upgrade.yml b/.github/workflows/check-upstream-upgrade.yml index 6b17bcd8..bf296bc8 100644 --- a/.github/workflows/check-upstream-upgrade.yml +++ b/.github/workflows/check-upstream-upgrade.yml @@ -32,7 +32,4 @@ jobs: shell: bash name: Check upstream upgrade on: - workflow_dispatch: {} #so we can run this manually if necessary. - schedule: - # Run every 8 hours Monday through Friday - - cron: '0 */8 * * 1-5' + workflow_dispatch: {} #so we can run this manually if necessary diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml index 2a9dfdd9..8a6ca391 100644 --- a/.github/workflows/upgrade-provider.yml +++ b/.github/workflows/upgrade-provider.yml @@ -7,13 +7,16 @@ on: types: - opened workflow_dispatch: {} + schedule: + # Run every 8 hours Monday through Friday + - cron: '0 */8 * * 1-5' + env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEFAULT_PR_ASSIGN: ocobles jobs: upgrade_provider: - if: ${{ contains(github.event.issue.title, 'Upgrade terraform-provider-') || github.event_name == 'workflow_dispatch' }} name: upgrade-provider runs-on: ubuntu-latest steps: