Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test readme workflow #12674

Closed
wants to merge 17 commits into from
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:
# * is a special character in YAML so you have to quote this string
# Run this Github Action every Tuesday at 7 AM UTC
- cron: '0 7 * * 2'
pull_request:
branches: [ main ]

permissions:
contents: read
Expand All @@ -29,13 +31,12 @@ jobs:
permissions:
pull-requests: write # for googleapis/code-suggester
name: Update API List PR
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
# don't run the workflow on forks of googleapis/google-cloud-python
if: ${{github.repository == 'googleapis/google-cloud-python'}}
steps:
- name: Get current date
id: date
run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
run: echo "current_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
# Use a fetch-depth of 2
# See https://github.com/googleapis/google-cloud-python/issues/12013
Expand All @@ -45,7 +46,7 @@ jobs:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: 3.10.0
- name: Install script dependencies
run: pip3 install -r requirements.txt
working-directory: ./scripts
Expand Down
Loading
Loading