You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ask pyadr to check my repo integrity as part of a ci pipeline job
The ci pipeline job fails with error.
I expect a newly generated ADR file, which is in the proposed state, to pass the repo integrity check even if it doesn't yet have a number assigned to it.
What I Did
run pyadr new My New ADR locally on my machine to generate a new ADR in the proposed state
update the text of my ADR.
run pyadr check-adr-repo locally (or as part of my CI pipeline) to check my ADR repo integrity, and it fails:
(status to verify against: '<any status with an id>')
ADR(s)'s filename follow the format '[0-9][0-9][0-9][0-9]-<adr-title-in-slug-format>.md', but: => 'docs/decisions/XXXX-my-new-adr.md' does not start with '[0-9][0-9][0-9][0-9]-'.
The text was updated successfully, but these errors were encountered:
ADR Process Tool version: 0.20.0
Python version: 3.11.4
Operating System:
executed from a debian container:
host:
Description
When trying to follow the workflow:
pyadr
to create a new ADR from a templatepyadr
to check my repo integrity as part of a ci pipeline jobThe ci pipeline job fails with error.
I expect a newly generated ADR file, which is in the proposed state, to pass the repo integrity check even if it doesn't yet have a number assigned to it.
What I Did
pyadr new My New ADR
locally on my machine to generate a new ADR in the proposed statepyadr check-adr-repo
locally (or as part of my CI pipeline) to check my ADR repo integrity, and it fails:The text was updated successfully, but these errors were encountered: