diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 10190a8..8090e4f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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' @@ -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