Skip to content

Commit 932ded2

Browse files
committed
chore: Don't trigger Git Commit Linter when draft PR is ready for review
Reverted commits b7ea3ab and 10f866f because that workaround is no longer needed after the change described in the GitHub Changelog on 2026-06-11: From [GitHub Changelog → Bot-created pull requests can run workflows if approved](https://github.blog/changelog/2026-06-11-bot-created-pull-requests-can-run-workflows-if-approved/): > Pull requests created by the `github-actions[bot]` are now able to run > your CI/CD workflows with user approval. Requiring approval is a security > measure to ensure generated code does not automatically run workflows > which may have access to sensitive information. […] > > Previously, pull requests generated by `github-actions[bot]` were not > able to run CI/CD workflows, allowing pull requests to be accidentally > merged without having gone through CI. This change allows all pull requests, > even bot-generated changes, to run configured CI/CD workflows if approved > by a user with write access to the repository.
1 parent bd66c9c commit 932ded2

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/dependency-review.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- opened
77
- reopened
88
- synchronize
9-
- ready_for_review
109

1110
permissions:
1211
contents: read

.github/workflows/git-commit-lint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
- opened
99
- reopened
1010
- synchronize
11-
- ready_for_review
1211

1312
permissions:
1413
contents: read

0 commit comments

Comments
 (0)