Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions .github/workflows/validate-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ jobs:
errors += '- Tag the PR with **No-PaaS-breaking-change** or **PaaS-breaking-change** to indicate PaaS compatibility. \n';
}

if(labels.includes("ADR-Included") == false &&
labels.includes("No-ADR") == false) {
errors += '- Tag the PR with **No-ADR** or **ADR-Included** to indicate whether documentation for the change is provided or not. \n';
}

if(errors != "") {
core.setFailed(errors)
}
5 changes: 5 additions & 0 deletions docs/ADRTags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Update the PR validation workflow to require ADR labeling.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


- All pull requests must now include one of the following labels: ADR-Included or No-ADR, indicating whether documentation for the change is provided or not.

- This ensures that every change is accompanied by its rationale and details, making it easier to track the context behind modifications in the future without scrambling to figure out who made the change and why.
Loading