Sync Upstream Tags #1
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: PowerShell PR Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| powershell-pr-check: | |
| name: powershell-pr-check | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'microsoft/codeql' | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ github.token }} | |
| - name: Setup CodeQL | |
| uses: ./.github/actions/fetch-codeql | |
| with: | |
| channel: release | |
| - name: Compile PowerShell Queries | |
| run: | | |
| codeql query compile --check-only --keep-going powershell/ql/src |