Skip to content

Commit 416eb46

Browse files
[CI] Fix workflow to check use of private emails (#17333)
https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request > By default, a workflow only runs when a pull_request event's activity type is opened, synchronize, or reopened. By adding `types: - opened`, we are restricting this workflow to run only when the PR is first opened. I don't see a good reason to do that. This PR removed it and also makes sure that this workflow is triggered only on certain branches.
1 parent bef8a98 commit 416eb46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/email-check.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: "Check for private emails used in PRs"
22

33
on:
44
pull_request:
5-
types:
6-
- opened
5+
branches:
6+
- sycl
7+
- sycl-rel-**
78

89
permissions:
910
contents: read

0 commit comments

Comments
 (0)