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
7 changes: 4 additions & 3 deletions .github/workflows/run_qaqc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: qaqc

on:
pull_request:
types: [opened, reopened, synchronize, closed]
push:
branches: [main]

Expand Down Expand Up @@ -31,12 +32,12 @@ jobs:
poetry run pytest

- name: Build badge
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
if: ${{ github.event_name == 'pull_request' && github.envent.pull_request.type == 'closed' }}
run: |
poetry run coverage-badge -f -o docs/assets/badges/coverage.svg
echo '<!-- timestamp: '"$(date '+%Y-%m-%d %H:%M:%S')"' -->' >> docs/assets/badges/coverage.svg
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git add docs/assets/badges/coverage.svg
git commit -m "Update coverage badge"
git push origin HEAD:${{ github.head_ref }}
git commit -m "Updated coverage badge"
git push origin HEAD
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ The versioning pattern is `YYYY.MM.DD.micro(a/b/{none if release})

---

## [2025.08.14.2a]

### Fixes

- Iteration on last update since main is the default branch only needs to push to HEAD (not HEAD:<branch>)
- Changing condition to on pull_request closure instead of push to main

## [2025.08.14.1a]

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cfa.dataops"
version = "2025.08.14.1a"
version = "2025.08.14.2a"
description = "Data cataloging, ETL, modeling, verification, and validation for CFA"
authors = [
{ name = "Phil Rogers", email = "ap66@cdc.gov" },
Expand Down