fix: recheck PR label on synchronize and reopen
* fix: recheck PR label on synchronize and reopen
* test: a pointless commit to check that the enforce-changelog-label job still passes
* debug: try the fixed
* Revert "debug: try the fixed feefeed"
This reverts commit
MODIFY
.github/workflows/enforce-changelog-labels.yml
.github/workflows/enforce-changelog-labels.yml
@@ -2,7 +2,7 @@ name: Enforce changelog labels
on:
pull_request:
- types: [opened, labeled, unlabeled]
+ types: [opened, labeled, unlabeled, synchronize, reopened]
branches: [master]
jobs:
@@ -16,7 +16,6 @@ jobs:
id: check-changelog-label
run: |
set -o xtrace
-
# Using the issues API instead of pulls because it can return only the labels
curl "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/issues/${{ github.event.pull_request.number }}/labels" \
| grep -o '"name": "[^"]*' \

fix: recheck PR label on synchronize and reopen (#1748)

* fix: recheck PR label on synchronize and reopen

* test: a pointless commit to check that the enforce-changelog-label job still passes

* debug: try the fixed feefeed

* Revert "debug: try the fixed feefeed"

This reverts commit a35fc90e8911c41b67aec76821ff73605b1885e5.