Make release workflow compatible with immutable releases #5868
Workflow file for this run
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: "Code Scanning - Action" | |
| on: | |
| pull_request: | |
| branches: [ release-branch-*, main] | |
| push: | |
| branches: [ release-branch-*, main] | |
| jobs: | |
| CodeQL-Build: | |
| # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # required for all workflows | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v3 | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@v3 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v3 |