| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2bb9d27 commit e20a371
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,23 +34,14 @@ jobs: | |||
| 34 | 34 | steps: | |
| 35 | 35 | - name: Checkout repository | |
| 36 | 36 | uses: actions/checkout@v2 | |
| 37 | - with: | ||
| 38 | - # We must fetch at least the immediate parents so that if this is | ||
| 39 | - # a pull request then we can checkout the head. | ||
| 40 | - fetch-depth: 2 | ||
| 41 | - | ||
| 42 | - # If this run was triggered by a pull request event, then checkout | ||
| 43 | - # the head of the pull request instead of the merge commit. | ||
| 44 | - - run: git checkout HEAD^2 | ||
| 45 | - if: ${{ github.event_name == 'pull_request' }} | ||
| 46 | 37 | ||
| 47 | 38 | # Initializes the CodeQL tools for scanning. | |
| 48 | 39 | - name: Initialize CodeQL | |
| 49 | 40 | uses: github/codeql-action/init@v1 | |
| 50 | 41 | with: | |
| 51 | 42 | languages: ${{ matrix.language }} | |
| 52 | 43 | # If you wish to specify custom queries, you can do so here or in a config file. | |
| 53 | - # By default, queries listed here will override any specified in a config file. | ||
| 44 | + # By default, queries listed here will override any specified in a config file. | ||
| 54 | 45 | # Prefix the list here with "+" to use these queries and those in the config file. | |
| 55 | 46 | # queries: ./path/to/local/query, your-org/your-repo/queries@main | |
| 56 | 47 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments