You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* prep for SSDLC tasks (and remove old release flow)
* address code-scanning concerns
* permit code scanning on all branches
* tie actions to a specific ref
do we need to bump the v2 to v3 in order to get the ruby actions?
* v2
* use boolean type for dry-run flag
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
17
+
runs-on: 'ubuntu-latest'
18
+
timeout-minutes: 360
19
+
permissions:
20
+
# required for all workflows
21
+
security-events: write
22
+
23
+
# required to fetch internal or private CodeQL packs
24
+
packages: read
25
+
26
+
# only required for workflows in private repositories
27
+
actions: read
28
+
contents: read
29
+
30
+
strategy:
31
+
fail-fast: false
32
+
matrix:
33
+
include:
34
+
- language: ruby
35
+
build-mode: none
36
+
steps:
37
+
- name: Checkout repository
38
+
uses: actions/checkout@v4
39
+
40
+
# Initializes the CodeQL tools for scanning.
41
+
- name: Initialize CodeQL
42
+
uses: github/codeql-action/init@v3
43
+
with:
44
+
languages: ${{ matrix.language }}
45
+
build-mode: ${{ matrix.build-mode }}
46
+
config: |
47
+
paths-ignore:
48
+
- .evergreen
49
+
- spec
50
+
- perf
51
+
- examples
52
+
- test-apps
53
+
# If you wish to specify custom queries, you can do so here or in a config file.
54
+
# By default, queries listed here will override any specified in a config file.
55
+
# Prefix the list here with "+" to use these queries and those in the config file.
56
+
57
+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
58
+
# queries: security-extended,security-and-quality
59
+
60
+
# If the analyze step fails for one of the languages you are analyzing with
61
+
# "We were unable to automatically build your code", modify the matrix above
62
+
# to set the build mode to "manual" for that language. Then modify this step
63
+
# to build your code.
64
+
# ℹ️ Command-line programs to run using the OS shell.
65
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
66
+
- if: matrix.build-mode == 'manual'
67
+
run: |
68
+
echo 'If you are using a "manual" build mode for one or more of the' \
69
+
'languages you are analyzing, replace this with the commands to build' \
0 commit comments