Skip to content

Commit

Permalink
fix(ci/cd): don't trigger empty PRs for Provider Map updates (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo authored May 7, 2024
1 parent ca11ee3 commit fb1da0c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/provider-map-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Authenticate with Google
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
credentials_json: "${{ secrets.GCP_SA_KEY }}"

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
Expand All @@ -37,13 +37,19 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: "3.10"

- name: Install dependencies, process providers, and update GeoJSON
run: |
pip install -r .github/resources/requirements.txt
python .github/resources/process_providers.py
# This step automatically formats code but will fail if it makes changes, so
# we use `continue-on-error: true` to ensure the workflow continues.
- name: Run pre-commit formatters
continue-on-error: true
uses: pre-commit/[email protected]

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
Expand Down

0 comments on commit fb1da0c

Please sign in to comment.