diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4d36522..27cbbe2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -24,11 +24,6 @@ on: schedule: - cron: '44 11 * * 0' -permissions: - actions: read - contents: read - security-events: write - jobs: analyze: name: Analyze @@ -59,7 +54,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -76,4 +71,4 @@ jobs: make -j$(nproc) p2pool - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/msvc-analysis.yml b/.github/workflows/msvc-analysis.yml index 820783a..72d8d14 100644 --- a/.github/workflows/msvc-analysis.yml +++ b/.github/workflows/msvc-analysis.yml @@ -31,6 +31,10 @@ jobs: name: Analyze timeout-minutes: 240 runs-on: windows-latest + permissions: + actions: read + contents: read + security-events: write steps: - name: Checkout repository