forked from runatlantis/atlantis
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 980 Bytes
/
codeql-required.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
# For required checks when path filtering doesn;'t trigger the other job
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: "CodeQL"
on:
push:
branches: [ "main" ]
paths-ignore:
- '**.go'
- '**.js'
pull_request:
# The branches below must be a subset of the branches above
types:
- opened
- reopened
- synchronize
- ready_for_review
branches: [ "main" ]
paths-ignore:
- '**.go'
- '**.js'
jobs:
analyze:
name: Analyze
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go', 'javascript' ]
steps:
- run: 'echo "No build required"'