Skip to content

Commit cdbb9b9

Browse files
committed
Merge branch 'main' into next
2 parents f573c71 + 39f8f98 commit cdbb9b9

File tree

642 files changed

+27174
-3808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

642 files changed

+27174
-3808
lines changed

.github/workflows/dispatch-matrix-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request_target:
55
types: [synchronize,opened]
66
branches:
7-
- "**"
7+
- "matrix/**"
88
workflow_dispatch:
99

1010
jobs:
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: 🤖 Run Matrix Check (On Comment)
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
branches:
7+
- main
8+
- "rc/**"
9+
- next
10+
11+
12+
jobs:
13+
dispatch-matrix-check:
14+
runs-on: ubuntu-latest
15+
steps:
16+
17+
- name: Test Variables
18+
shell: pwsh
19+
run: |
20+
Write-Host "Running as: ${{github.actor}}"
21+
22+
$actor = "${{github.actor}}"
23+
24+
$acl = @("jsinglet","mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine")
25+
26+
if(-not ($actor -in $acl)){
27+
throw "Refusing to run workflow for user not in acl."
28+
}
29+
30+
31+
- name: Dispatch Matrix Testing Job
32+
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-matrix') }}
33+
uses: peter-evans/repository-dispatch@v2
34+
with:
35+
token: ${{ secrets.RELEASE_ENGINEERING_TOKEN }}
36+
repository: github/codeql-coding-standards-release-engineering
37+
event-type: matrix-test
38+
client-payload: '{"pr": "${{ github.event.number }}"}'
39+
40+
- uses: actions/github-script@v6
41+
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-matrix') }}
42+
with:
43+
script: |
44+
github.rest.issues.createComment({
45+
issue_number: context.issue.number,
46+
owner: context.repo.owner,
47+
repo: context.repo.repo,
48+
body: '🤖 Beep Boop! Matrix Testing for this PR has been initiated. Please check back later for results. <br><br> :bulb: If you do not hear back from me please check my status! **I will report even if this PR does not contain files eligible for matrix testing.**'
49+
})

.vscode/tasks.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@
203203
"Concurrency1",
204204
"Concurrency2",
205205
"Concurrency3",
206-
"Concurrency4",
207-
"Concurrency5",
206+
"Concurrency4",
207+
"Concurrency5",
208208
"Conditionals",
209209
"Const",
210210
"DeadCode",
@@ -236,24 +236,29 @@
236236
"Lambdas",
237237
"Language1",
238238
"Language2",
239+
"Language3",
239240
"Literals",
240241
"Loops",
241242
"Macros",
242243
"Memory1",
243244
"Memory2",
245+
"Memory3",
244246
"Misc",
245247
"MoveForward",
246248
"Naming",
247249
"Null",
248250
"OperatorInvariants",
249251
"Operators",
252+
"OutOfBounds",
250253
"Pointers",
251254
"Pointers1",
252255
"Pointers2",
253256
"Pointers3",
257+
"Representation",
254258
"Scope",
255259
"SideEffects1",
256260
"SideEffects2",
261+
"SideEffects3",
257262
"SmartPointers1",
258263
"SmartPointers2",
259264
"Strings",

c/cert/src/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: codeql/cert-c-coding-standards
2-
version: 2.15.0-dev
2+
version: 2.18.0-dev
33
description: CERT C 2016
44
suites: codeql-suites
55
license: MIT

0 commit comments

Comments
 (0)