GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Actions: Add change note checker · optionalg/codeql@03d3f2c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • check-change-note.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/check-change-note.yml‎

Copy file name to clipboard
+35Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on:
2+
pull_request_target:
3+
paths:
4+
- '**/*.ql'
5+
- '**/*.qll'
6+
- '!**/experimental/**'
7+
8+
jobs:
9+
check-change-note:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check if change note file is present
13+
uses: dorny/paths-filter@v2
14+
id: paths_filter
15+
with:
16+
filters: |
17+
change_note:
18+
- '**/change-notes/*.md'
19+
- name: Get PR labels
20+
id: pr-labels
21+
uses: joerick/[email protected]
22+
- name: Inform the PR author
23+
uses: actions/github-script@v3
24+
if: |
25+
steps.paths_filter.outputs.change_note == 'false' &&
26+
!contains(steps.pr-labels.outputs.labels, ' minor-change ')
27+
with:
28+
github-token: ${{secrets.GITHUB_TOKEN}}
29+
script: |
30+
github.issues.addLabels({
31+
issue_number: context.issue.number,
32+
owner: context.repo.owner,
33+
repo: context.repo.repo,
34+
labels: ['Needs change note']
35+
})

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.