File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments