summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-04-08 07:28:37 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-04-08 07:32:34 +0900
commitcbe061c2f4b55bafa0940aecb3a0bc164de7805b (patch)
tree16deb1fbd6c2dac21a5360d49b1909196b87f245 /.github/workflows
parent77405e11b62fdd18b82cface0c442de58fddf251 (diff)
downloadmruby-cbe061c2f4b55bafa0940aecb3a0bc164de7805b.tar.gz
mruby-cbe061c2f4b55bafa0940aecb3a0bc164de7805b.zip
codeql-analysis.yml: remove `git checkout HEAD^2`.
According to CodeQL instruction, `HEAD^2` is no longer needed.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/codeql-analysis.yml5
1 files changed, 0 insertions, 5 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index ea9f9bd8e..75f80a558 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -19,11 +19,6 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2
- # If this run was triggered by a pull request event, then checkout
- # the head of the pull request instead of the merge commit.
- - run: git checkout HEAD^2
- if: ${{ github.event_name == 'pull_request' }}
-
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1