Skip to content

Give all workflows write permissions #1201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
schedule:
- cron: "0 13 * * *" # 1pm UTC = 5am PST / 6am PDT, 6 hours after testapps run

permissions: write-all

env:
GITHUB_TOKEN: ${{ github.token }}
numDays: 7
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ on:
required: false
type: string

permissions: write-all

jobs:
build_android:
name: build-android-unity${{ inputs.unity_version }}-CPP${{ inputs.firebase_cpp_sdk_version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ on:
required: false
type: string

permissions: write-all

jobs:
build_ios:
name: build-ios-unity${{ inputs.unity_version }}-CPP${{ inputs.firebase_cpp_sdk_version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ on:
required: false
type: string

permissions: write-all

jobs:
build_desktop:
name: build-linux-unity${{inputs.unity_version}}-CPP${{ inputs.firebase_cpp_sdk_version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ on:
required: false
type: string

permissions: write-all

jobs:
build_desktop:
name: build-macOS-unity${{ inputs.unity_version}}-CPP${{ inputs.firebase_cpp_sdk_version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ on:
default: '1'
required: true

permissions: write-all

env:
pythonVersion: '3.8'

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ on:
required: true
type: string

permissions: write-all

jobs:
build_tvos:
name: build-tvos-unity${{ inputs.unity_version }}-CPP${{ inputs.firebase_cpp_sdk_version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ on:
required: false
type: string

permissions: write-all

jobs:
build_desktop:
name: build-windows-unity${{inputs.unity_version}}-CPP${{ inputs.firebase_cpp_sdk_version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/generate_swig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ on:
required: false
type: string

permissions: write-all

jobs:
generate_swig:
name: generate-swig-unity${{inputs.unity_version}}-CPP${{ inputs.firebase_cpp_sdk_version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ on:
test_pull_request:
description: 'Optional: Pull request # to build and test? (With optional commit hash, separated by a colon. Specify the FULL hash.)'

permissions: write-all

env:
triggerLabelPrefix: "tests-requested: "
triggerLabelFull: "tests-requested: full"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/retry-test-failures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
description: 'Run ID to check and retry'
default: ''
required: true

permissions: write-all

jobs:
check_results_and_retry_if_needed:
name: check-results-and-retry-if-needed
Expand Down