Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@ jobs:
- run: pip install bandit
- run: bandit -r deployment/eventPublisher deployment/kafka_speed_exporter deployment/nifi/nifi-scripts/src -c deployment/nifi/nifi-scripts/pyproject.toml

poetry-lock:
name: Poetry lock is resolvable & current
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.12"
- run: pipx install 'poetry>=2.0,<3.0'
# An unresolvable pyproject.toml leaves GitHub's dependency graph "Degraded",
# which silently disables Dependabot alerts for this directory. Fail the PR instead.
- name: Verify poetry.lock matches pyproject.toml
run: poetry check --lock
working-directory: deployment/nifi/nifi-scripts

dco:
name: DCO sign-off
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,9 @@ target/
# Note: website/package-lock.json is intentionally committed (npm ci needs
# it); it does not match this pattern, which targets runtime lock files.
**/*.lock
# Dependency lock files are committed on purpose: Poetry needs poetry.lock for
# reproducible installs, and GitHub's dependency graph reads it to resolve exact
# versions (without it the nifi-scripts snapshot is reported as "Degraded").
!**/poetry.lock
checkpoint
snapshot
Loading