FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/.github/workflows/check-change-note.yml at codeql-cli-2.11.3 · github/codeql · GitHub
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10.1k
Code
Issues
1k
Pull requests
468
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
.github
/
workflows
/
check-change-note.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
28 lines (26 loc) · 964 Bytes
Breadcrumbs
codeql
/
.github
/
workflows
/
check-change-note.yml
Copy path
File metadata and controls
28 lines (26 loc) · 964 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name
:
Check change note
on
:
pull_request_target
:
types
:
[labeled, unlabeled, opened, synchronize, reopened, ready_for_review]
paths
:
-
"
*/ql/src/**/*.ql
"
-
"
*/ql/src/**/*.qll
"
-
"
*/ql/lib/**/*.ql
"
-
"
*/ql/lib/**/*.qll
"
-
"
!**/experimental/**
"
-
"
!ql/**
"
-
"
!swift/**
"
-
"
.github/workflows/check-change-note.yml
"
jobs
:
check-change-note
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Fail if no change note found. To fix, either add one, or add the `no-change-note-required` label.
if
:
|
github.event.pull_request.draft == false &&
!contains(github.event.pull_request.labels.*.name, 'no-change-note-required')
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq 'any(.[].filename ; test("/change-notes/.*[.]md$"))' |
grep true -c
Back
|
FazBrowse Home
|
New Git URL