From 74bd4b5d0092f9e79b6f065ae86dcf5def4bcefc Mon Sep 17 00:00:00 2001 From: Badbird-5907 <50347938+Badbird-5907@users.noreply.github.com> Date: Thu, 11 Aug 2022 21:36:18 -0400 Subject: [PATCH] fix? --- .github/workflows/dev-analysis.yml | 35 +++++++----------------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/.github/workflows/dev-analysis.yml b/.github/workflows/dev-analysis.yml index 4f4045d..99203bd 100644 --- a/.github/workflows/dev-analysis.yml +++ b/.github/workflows/dev-analysis.yml @@ -4,9 +4,16 @@ on: [push, pull_request] jobs: gradle: + permissions: + actions: read + contents: read + security-events: write strategy: matrix: os: [ ubuntu-latest ] + fail-fast: false + matrix: + language: [ 'java' ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -30,33 +37,6 @@ jobs: with: name: TerminatorPlus path: build/libs/ - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'java' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Cache local repo - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - name: Initialize CodeQL uses: github/codeql-action/init@v1 @@ -65,3 +45,4 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 +