Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Oct 30, 2023
1 parent 53308ab commit 12d929c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: flake8
run: |
flake8 --select F,E722 --ignore F403,F405,F541 --per-file-ignores="*/__init__.py:F401,F403"
refresh_json:
update:
runs-on: ubuntu-latest
needs: lint
if: github.event_name == 'push' || github.event_name == 'schedule'
Expand All @@ -37,17 +37,17 @@ jobs:
run: |
pip install poetry
poetry install
- name: Refresh cloud_providers.json
run: poetry run cloudcheck refresh_json
- name: Update cloud_providers.json
run: poetry run cloudcheck update
- name: git add cloud_providers.json
uses: EndBug/add-and-commit@v9
with:
add: "cloud_providers.json"
default_author: github_actions
message: "refresh cloud_providers.json"
message: "update cloud_providers.json"
publish:
runs-on: ubuntu-latest
needs: refresh_json
needs: update
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 12d929c

Please sign in to comment.