diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 14a940fb..580ebc48 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,10 +3,8 @@ # Documentation: # https://docs.github.com/code-security/dependabot/working-with-dependabot/dependabot-options-reference # -# Dependabot only opens security update PRs here; open-pull-requests-limit: 0 -# turns off version updates. Security update PRs still use the commit-message -# settings, which keep their titles within the scopes allowed by the PR title -# check in workflows/checks.yaml. +# Commit-message prefixes keep PR titles within the scopes allowed by the PR +# title check in workflows/checks.yaml. version: 2 updates: @@ -20,9 +18,20 @@ updates: - /sdk-pqc-bc schedule: interval: weekly + # Security updates only. open-pull-requests-limit: 0 commit-message: # Runtime dependencies ship in released artifacts, so cut a patch release. prefix: "fix(main)" # Test-scoped dependencies don't change released artifacts. prefix-development: "chore(ci)" + + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly + # Give compromised releases time to be caught before SHA pins move to them. + cooldown: + default-days: 7 + commit-message: + prefix: "chore(ci)" diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index d013aad8..c760e912 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -29,17 +29,17 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Initialize the CodeQL tools for scanning - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@9418214df1f2c4b8128c770156c409013b07d6b9 # v3.39.3 with: languages: ${{ matrix.language }} timeout-minutes: 5 - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@9418214df1f2c4b8128c770156c409013b07d6b9 # v3.39.3 timeout-minutes: 10 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@9418214df1f2c4b8128c770156c409013b07d6b9 # v3.39.3 with: category: "/language:${{matrix.language}}" timeout-minutes: 10 diff --git a/.github/workflows/update-platform-branch.yaml b/.github/workflows/update-platform-branch.yaml index b13e6c1c..798aa07a 100644 --- a/.github/workflows/update-platform-branch.yaml +++ b/.github/workflows/update-platform-branch.yaml @@ -34,7 +34,7 @@ jobs: steps: - name: Checkout java-sdk repository - uses: actions/checkout@v3 + uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0 with: persist-credentials: true