Skip to content

Commit

Permalink
chore: Limit Github Action to run once per week (#1417)
Browse files Browse the repository at this point in the history
Right now the Github Action that updates discovery artifacts runs every day at 7 am UTC. Since we typically only release `google-api-python-client` once per week, I'd like to modify the action to only update discovery artifacts once per week.
  • Loading branch information
parthea committed Jun 16, 2021
1 parent 3659137 commit 9e4e060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ name: A workflow for updating discovery artifacts
on:
schedule:
# * is a special character in YAML so you have to quote this string
# Run this Github Action every day at 7 AM UTC
- cron: '0 7 * * *'
# Run this Github Action every Tuesday at 7 AM UTC
- cron: '0 7 * * 2'

jobs:
build:
Expand Down

0 comments on commit 9e4e060

Please sign in to comment.