Unverified Commit 72abd931 authored by daz's avatar daz
Browse files

Set workflow permissions where required

parent a4107da7
Loading
Loading
Loading
Loading
+2
Changes for .github/workflows/ci-full-check.yml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@ jobs:

  dependency-graph:
    uses: ./.github/workflows/integ-test-dependency-graph.yml
    permissions:
      contents: write
    with:
      cache-key-prefix: ${{github.run_number}}-

+2
Changes for .github/workflows/ci-quick-check.yml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -53,6 +53,8 @@ jobs:
  dependency-graph:
    needs: build-distribution
    uses: ./.github/workflows/integ-test-dependency-graph.yml
    permissions:
      contents: write
    with:
      runner-os: '["ubuntu-latest"]'
      download-dist: true
+4
Changes for .github/workflows/demo-pr-build-scan-comment.yml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,10 @@ name: Demo adding Build Scan® comment to PR
on:
  pull_request:
    types: [assigned, review_requested]

permissions:
  pull-requests: write

jobs:
  successful-build-with-always-comment:
    runs-on: ubuntu-latest
+3
Changes for .github/workflows/integ-test-dependency-graph.yml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -12,6 +12,9 @@ on:
        type: boolean
        default: false

permissions:
  contents: write

env:
  DOWNLOAD_DIST: ${{ inputs.download-dist }}
  GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: dependency-graph-${{ inputs.cache-key-prefix }}