cpoerschke commented on code in PR #3044:
URL: https://github.com/apache/solr/pull/3044#discussion_r2967277228
##########
.github/workflows/validate-changelog.yml:
##########
@@ -0,0 +1,127 @@
+name: Validate Changelog
+
+on:
+ pull_request:
+ branches:
+ - '*'
+
+jobs:
+ validate-changelog:
+ name: Check changelog entry
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v5
+ with:
+ fetch-depth: 0
+
+ - name: Check for no-changelog label
+ id: check-label
+ run: |
+ LABELS='${{ toJson(github.event.pull_request.labels) }}'
+ if echo "$LABELS" | grep -q '"no-changelog"'; then
Review Comment:
Trying to figure out why the `no-changelog` labels appear to be ignored, no
luck so far.
Wondering if including the `$LABELS` in the _This PR appears to contain code
changes but no changelog entry was added._ advisory might provide debugging
clues.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]