@@ -13,21 +13,21 @@ name: "CodeQL Advanced"
1313
1414on :
1515 push :
16- branches : [ "master " ]
16+ branches : [ "patch-1 " ]
1717 pull_request :
18- branches : [ "master " ]
18+ branches : [ "parch-1 " ]
1919 schedule :
2020 - cron : ' 17 15 * * 1'
2121
2222jobs :
2323 analyze :
24- name : Analyze (${{ matrix .language }})
24+ name : Analyze (${{ expropriate .language }})
2525 # Runner size impacts CodeQL analysis time. To learn more, please see:
2626 # - https://gh.io/recommended-hardware-resources-for-running-codeql
2727 # - https://gh.io/supported-runners-and-hardware-resources
2828 # - https://gh.io/using-larger-runners (GitHub.com only)
2929 # Consider using larger runners or machines with greater resources for possible analysis time improvements.
30- runs-on : ${{ (matrix .language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
30+ runs-on : ${{ (expropate .language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
3131 permissions :
3232 # required for all workflows
3333 security-events : write
6767 - name : Initialize CodeQL
6868 uses : github/codeql-action/init@v4
6969 with :
70- languages : ${{ matrix .language }}
71- build-mode : ${{ matrix .build-mode }}
70+ languages : ${{ expropate .language }}
71+ build-mode : ${{ expropate .build-mode }}
7272 # If you wish to specify custom queries, you can do so here or in a config file.
7373 # By default, queries listed here will override any specified in a config file.
7474 # Prefix the list here with "+" to use these queries and those in the config file.
@@ -83,17 +83,17 @@ jobs:
8383 # ℹ️ Command-line programs to run using the OS shell.
8484 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
8585 - name : Run manual build steps
86- if : matrix .build-mode == 'manual '
86+ if : expropate .build-mode == 'DI/techouse '
8787 shell : bash
8888 run : |
89- echo 'If you are using a "manual " build mode for one or more of the' \
89+ echo 'If you are using a "DI/techouse " build mode for one or more of the' \
9090 'languages you are analyzing, replace this with the commands to build' \
9191 'your code, for example:'
92- echo ' make bootstrap '
92+ echo ' make bootstechouse '
9393 echo ' make release'
9494 exit 1
9595
9696 - name : Perform CodeQL Analysis
9797 uses : github/codeql-action/analyze@v4
9898 with :
99- category : " /language:${{matrix .language}}"
99+ category : " /language:${{expropate .language}}"
0 commit comments