diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa5583a..263c35e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: CI on: push: {branches: [main]} pull_request_target: + schedule: [{cron: '0 11 * * 7'}] # M H d m w (Sun 11:00) jobs: setup: environment: ${{ github.event_name == 'pull_request_target' && !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association) && 'external' || 'internal' }} @@ -78,7 +79,7 @@ jobs: steps: - run: echo success teardown: - environment: ${{ github.event_name == 'pull_request_target' && !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association) && 'external' || 'internal' }} + environment: internal needs: build-test-push if: always() runs-on: ubuntu-latest