Skip to content

Commit 03137fc

Browse files
mario-camposCopilot
andcommitted
Rename changelog outputs to modified
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 9448877 commit 03137fc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/pr-checks.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
runs-on: ubuntu-latest
9494
timeout-minutes: 10
9595
outputs:
96-
changelog-changed: ${{ steps.changelog-check.outputs.changed }}
96+
changelog-modified: ${{ steps.changelog-check.outputs.modified }}
9797

9898
concurrency:
9999
cancel-in-progress: ${{ github.event_name == 'pull_request' || false }}
@@ -192,9 +192,9 @@ jobs:
192192
run: |
193193
if ! git diff --exit-code --quiet "$BASE_SHA" "$HEAD_SHA" -- CHANGELOG.md; then
194194
echo "CHANGELOG.md was modified in this PR."
195-
echo "changed=true" >> "$GITHUB_OUTPUT"
195+
echo "modified=true" >> "$GITHUB_OUTPUT"
196196
else
197-
echo "changed=false" >> "$GITHUB_OUTPUT"
197+
echo "modified=false" >> "$GITHUB_OUTPUT"
198198
fi
199199
200200
- name: "Backport: Check out base ref"
@@ -292,7 +292,7 @@ jobs:
292292
# Release, backport, mergeback, and bundle-update PRs deliberately modify CHANGELOG.md,
293293
# so skip comment management entirely for these automation flows.
294294
if: >-
295-
needs.other-checks.outputs.changelog-changed == 'true' &&
295+
needs.other-checks.outputs.changelog-modified == 'true' &&
296296
!startsWith(github.event.pull_request.head.ref, 'update-v') &&
297297
!startsWith(github.event.pull_request.head.ref, 'backport-v') &&
298298
!startsWith(github.event.pull_request.head.ref, 'mergeback/') &&
@@ -310,7 +310,7 @@ jobs:
310310
- name: Mark the CHANGELOG.md concern as resolved
311311
id: resolve-changelog-warning
312312
if: >-
313-
needs.other-checks.outputs.changelog-changed != 'true' &&
313+
needs.other-checks.outputs.changelog-modified != 'true' &&
314314
!startsWith(github.event.pull_request.head.ref, 'update-v') &&
315315
!startsWith(github.event.pull_request.head.ref, 'backport-v') &&
316316
!startsWith(github.event.pull_request.head.ref, 'mergeback/') &&

0 commit comments

Comments
 (0)