pm: fix audit CI failures (real drift + missing label)#128
Merged
Conversation
Two issues surfaced from the first pm-workflow-audit.yml run on main: 1. The audit reported real drift: Auto-archive items workflow is enabled on litentry/projects/19, but expected-workflows.json marked it as should_be_enabled=false. The operator enabled it via the UI (which is the recommended state per the original note). Flip the expected state to match reality. 2. The drift-issue-creation step failed: "could not add label: 'kind/automation' not found". The repo doesn't have a kind/automation label — only the 7 in pm/labels.json. Switch to kind/devx since the automation health belongs to dev experience. After this, the audit should report 11/11 match and the issue-create step won't fire (but is defensively label-correct for future drifts).
eaffdf5 to
d781fcd
Compare
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two CI failures from the first
pm-workflow-audit.ymlrun on main (after #127 merged):Auto-archive itemsworkflow is enabled on the project, butexpected-workflows.jsonmarked itshould_be_enabled=false. The operator turned it on via the UI (the recommended state per the original note). Flip the expected state totrueso audit reports 11/11 match.could not add label: 'kind/automation' not found. The repo has 7kind/*labels inpm/labels.jsonbut nokind/automation. Switch the drift-issue creation step tokind/devx(which exists and fits — automation tooling = dev experience).File diff
Note on commit count
The "Commits" tab will show 7 commits but only 1 is new (
eaffdf5). The other 6 are the same commits that #127 squash-merged onto main. GitHub's file-level diff is the source of truth — only 2 files changed.Test plan
ok check-workflows: 11 matched, 0 mismatchesand skip the issue-create step entirelygh workflow run pm-workflow-audit.yml --repo litentry/agentKeysto verify immediatelykind/devx,priority/p2labels