Skip to content

Commit

Permalink
don't filter on metadata update, we actually want it to run consistently
Browse files Browse the repository at this point in the history
Signed-off-by: John Seekins <[email protected]>
  • Loading branch information
John Seekins committed Aug 1, 2023
1 parent e6c1dc0 commit ff9f776
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,9 @@ jobs:
run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}"
- name: Publish package
run: poetry publish --build
- name: metadata filter
uses: tj-actions/changed-files@v33
id: metadata-filter
with:
files: |
openstates/metadata
openstates/data
openstates/cli/initdb.py
.github/workflows/release.yml
files_ignore: |
openstates/metadata/tests
openstates/data/tests
- name: install dependencies
if: "steps.metadata-filter.outputs.any_changed == 'true'"
run: poetry install
- name: update metadata
if: "steps.metadata-filter.outputs.any_changed == 'true'"
env:
DATABASE_URL: ${{ secrets.OPENSTATES_DATABASE_URL }}
run: poetry run os-initdb
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openstates"
version = "6.17.2"
version = "6.17.3"
description = "core infrastructure for the openstates project"
authors = ["James Turk <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit ff9f776

Please sign in to comment.