Skip to content

Commit d001c77

Browse files
Updated rename_changelog_file.yml GitHub workflow to account for DRAFT and “skip changelog” labelled PRs. (#6781)
* Updated rename_changelog_file.py script to account for DRAFT and “skip changeling” labeled PRs. * Use GitHub Action expression to filter out PR that are labeled ‘skip changelog’. * Using only GitHub Action expressions. Rolledback changes to scripts..github/workflows/rename_changelog_file.yml
1 parent 99cd4ad commit d001c77

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/rename_changelog_file.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Rename changelog files
22
on:
33
pull_request:
4-
types: [ opened, reopened, ready_for_review, synchronize ]
4+
types: [ opened, reopened, ready_for_review, synchronize, labeled, unlabeled ]
55
jobs:
66
process:
7+
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'skip changelog') == false
78
permissions:
89
pull-requests: write
910
contents: write

0 commit comments

Comments
 (0)