fix: update get_execution_role to directly return the ExecutionRoleArn if it presents in the resource metadata file #2464
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "CodeQL" | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| schedule: | |
| - cron: '30 15 * * *' | |
| jobs: | |
| analyze: | |
| name: Analyze (${{ matrix.language }}) | |
| runs-on: ${{ 'ubuntu-latest' }} | |
| permissions: | |
| security-events: write | |
| packages: read | |
| strategy: | |
| matrix: | |
| include: | |
| - language: python | |
| build-mode: none | |
| - language: java-kotlin | |
| build-mode: none | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@6ccd57f4c5d15bdc2fef309bd9fb6cc9db2ef1c6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@4b1d7da102ff94aca014c0245062b1a463356d72 | |
| with: | |
| languages: ${{ matrix.language }} | |
| build-mode: ${{ matrix.build-mode }} | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@4b1d7da102ff94aca014c0245062b1a463356d72 | |
| with: | |
| category: "/language:${{matrix.language}}" |