Skip to content

Commit 4586d99

Browse files
committed
wip
1 parent 999b36f commit 4586d99

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
name: "CodeQL GitHub Actions"
17+
18+
on:
19+
workflow_dispatch:
20+
push:
21+
branches: [ "main" ]
22+
pull_request:
23+
branches: [ "main" ]
24+
25+
jobs:
26+
analyze:
27+
name: Analyze actions
28+
runs-on: 'ubuntu-latest'
29+
permissions:
30+
security-events: write
31+
packages: read
32+
actions: read
33+
contents: read
34+
35+
steps:
36+
- name: Checkout repository
37+
uses: actions/checkout@v4
38+
39+
- name: Initialize CodeQL
40+
uses: github/codeql-action/init@v4
41+
with:
42+
languages: actions
43+
build-mode: none
44+
45+
- name: Perform CodeQL Analysis
46+
uses: github/codeql-action/analyze@v4
47+
with:
48+
category: "/language:actions"

0 commit comments

Comments
 (0)