From 27dc373bdd2cbb713c469767acf73d1314104c30 Mon Sep 17 00:00:00 2001 From: Hao Zhao <36955586+eherozhao@users.noreply.github.com> Date: Wed, 7 Sep 2022 14:38:10 -0700 Subject: [PATCH] remove push from github action and update CodeQL version to v2 since v1 will deprecate this Dec --- .github/workflows/pull-request.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3ccf233..ce833c5 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,7 +2,6 @@ name: Run build/tests/lint on pull requests on: pull_request: - push: # By default the karma test runners use the karma 'Chrome' runner # This is great when running locally because the browser pops up and you get to see what it does @@ -20,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 - uses: actions/setup-node@v3 with: node-version: '16.x' @@ -29,4 +28,4 @@ jobs: - run: npm run build-test - name: Perform CodeQL Analysis if: matrix.os == 'ubuntu-latest' # we only need to run this check on one platform - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2