Skip to content
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
5 changes: 5 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ env:
GITHUB_TOKEN: ${{ github.token }}
xcodeVersion: "26.2" # Only affects Mac runners, and only for prerequisites.

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand All @@ -29,6 +32,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
- name: Use expanded matrix
if: github.event.inputs.use_expanded_matrix == '1'
Expand Down Expand Up @@ -93,6 +97,7 @@ jobs:

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: true

- name: Set env variables for subsequent steps (all)
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
python-version: 3.9
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
fetch-depth: 0
- name: Install Desktop SDK prerequisites
uses: nick-invision/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # ratchet:nick-invision/retry@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
- name: Setup python
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # ratchet:actions/setup-python@v4
Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
cmakeVersion: "~3.31.0"
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
- name: Setup python
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # ratchet:actions/setup-python@v4
Expand Down Expand Up @@ -104,6 +106,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
- name: Run check_copyright.sh
run: |
Expand All @@ -118,6 +121,7 @@ jobs:
# Skip this if the PR has the skipReleaseNotes label or if it's a merge to other than main.
if: ${{!contains(github.event.pull_request.labels.*.name, env.skipReleaseNotesLabel) && (github.event.pull_request.base.ref == 'main')}}
with:
persist-credentials: true # zizmor: ignore[artipacked]
fetch-depth: 0
submodules: false
- name: Check whether release notes have been updated
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/checks_secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
if: steps.check.outputs.has-permission != 1 || github.event.pull_request.head.repo.full_name != github.repository
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
- name: Setup python
if: steps.check.outputs.has-permission != 1 || github.event.pull_request.head.repo.full_name != github.repository
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/cpp-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
if: ${{ matrix.tools_platform == 'darwin' && !steps.cache_llvm.outputs.cache-hit }}
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
repository: llvm/llvm-project
path: llvm-src
ref: ${{ env.llvmVer }}
Expand All @@ -163,6 +164,7 @@ jobs:
- name: fetch demumble
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
repository: nico/demumble
path: demumble-src
ref: ${{ env.demumbleVer }}
Expand Down Expand Up @@ -211,6 +213,7 @@ jobs:
- name: fetch SDK
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
path: sdk-src

- name: Setup python
Expand Down Expand Up @@ -266,6 +269,7 @@ jobs:
- name: fetch SDK
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
path: sdk-src

- name: Store git credentials for all git commands
Expand Down Expand Up @@ -380,6 +384,7 @@ jobs:

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: true

- name: Set env variables for subsequent steps (all)
Expand Down Expand Up @@ -523,6 +528,7 @@ jobs:
- name: fetch SDK
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
path: sdk-src

- name: download packaging-tool artifacts
Expand Down Expand Up @@ -733,6 +739,7 @@ jobs:
- name: fetch SDK
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
path: sdk-src

- name: download artifact
Expand Down Expand Up @@ -859,6 +866,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]

- name: Setup python
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # ratchet:actions/setup-python@v4
Expand Down Expand Up @@ -933,6 +942,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
- name: Setup python
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # ratchet:actions/setup-python@v4
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ env:
CCACHE_DIR: ${{ github.workspace }}/ccache_dir
GITHUB_TOKEN: ${{ github.token }}

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand All @@ -31,6 +34,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
- name: Use expanded matrix
if: github.event.inputs.expanded_matrix == '1'
Expand Down Expand Up @@ -113,10 +117,13 @@ jobs:

- name: Setup Xcode version (macos)
if: runner.os == 'macOS'
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer
run: sudo xcode-select -s /Applications/Xcode_${XCODE_VERSION}.app/Contents/Developer
env:
XCODE_VERSION: ${{ matrix.xcode_version }}

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: true

- name: Set env vars (ubuntu)
Expand Down Expand Up @@ -327,6 +334,7 @@ jobs:
cmakeVersion: "~3.31.0"
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
submodules: true
- name: Cache vcpkg C++ dependencies
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ jobs:
access_token: ${{ github.token }}
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{steps.set_outputs.outputs.github_ref}}
fetch-depth: 0
submodules: false
Expand Down Expand Up @@ -309,6 +310,7 @@ jobs:
cmakeVersion: "~3.31.0"
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
submodules: true
- name: Setup python
Expand Down Expand Up @@ -482,6 +484,7 @@ jobs:
cmakeVersion: "~3.31.0"
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
submodules: true
- run: df -h
Expand Down Expand Up @@ -626,6 +629,7 @@ jobs:
cmakeVersion: "~3.31.0"
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
submodules: true
- name: Setup python
Expand Down Expand Up @@ -748,6 +752,7 @@ jobs:
cmakeVersion: "~3.31.0"
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
submodules: true
- name: Setup python
Expand Down Expand Up @@ -888,6 +893,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
- name: Download Desktop integration tests artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # ratchet:actions/download-artifact@v4
Expand Down Expand Up @@ -1018,6 +1024,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
- name: Download Android integration tests artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # ratchet:actions/download-artifact@v4
Expand Down Expand Up @@ -1163,6 +1170,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
- name: Download iOS integration tests artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # ratchet:actions/download-artifact@v4
Expand Down Expand Up @@ -1348,6 +1356,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{needs.check_and_prepare.outputs.github_ref}}
- name: Download tvOS integration tests artifact
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # ratchet:actions/download-artifact@v4
Expand Down Expand Up @@ -1496,6 +1505,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]

ref: ${{needs.check_and_prepare.outputs.github_ref}}
- name: Setup python
Expand Down Expand Up @@ -1576,6 +1586,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]

ref: ${{needs.check_and_prepare.outputs.github_ref}}
- name: Setup python
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
env:
GITHUB_TOKEN: ${{ github.token }}

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand All @@ -25,6 +28,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
- name: Use expanded matrix
if: github.event.inputs.use_expanded_matrix == '1'
Expand Down Expand Up @@ -56,10 +60,13 @@ jobs:

- name: setup Xcode version (macos)
if: runner.os == 'macOS'
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer
run: sudo xcode-select -s /Applications/Xcode_${XCODE_VERSION}.app/Contents/Developer
env:
XCODE_VERSION: ${{ matrix.xcode_version }}

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: true

- name: Setup python
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,29 @@ on:
pull_request:
types: [opened,synchronize]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint_warnings_check_and_comment:
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
repository: cpplint/cpplint
ref: "1.5.5"
path: cpplint
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
submodules: false
path: firebase

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/retry-test-failures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
default: ''
required: true

permissions:
contents: read

jobs:
check_results_and_retry_if_needed:
name: check-results-and-retry-if-needed
Expand All @@ -27,6 +30,7 @@ jobs:

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
ref: ${{ matrix.branch_name }}
fetch-depth: 0
submodules: false
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reviewer-roulette.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ on:
env:
reviewerList: "jonsimantov a-maurice cynthiajoan chkuang-g AlmostMatt"

permissions:
contents: read

jobs:
assign_random_reviewer:
if: github.event.action == 'labeled' && github.event.label.name == 'reviewer-roulette'
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: write
steps:
- name: Unset label
uses: buildsville/add-remove-label@6008d7bd99d3baeb7c04033584e68f8ec80b198b # ratchet:buildsville/add-remove-label@v1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-custom-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
env:
GITHUB_TOKEN: ${{ github.token }}

permissions:
contents: read

jobs:
update_custom_runners:
name: update-custom-runner-${{ matrix.runner_hostname }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
- name: Check out base branch
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
persist-credentials: true # zizmor: ignore[artipacked]
fetch-depth: 0
ref: ${{ github.event.inputs.baseBranch }}

Expand Down Expand Up @@ -228,7 +229,7 @@
GITHUB_EVENT_INPUTS_BASEBRANCH: ${{ github.event.inputs.baseBranch }}

- name: Set test trigger label.
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # ratchet:actions-ecosystem/action-add-labels@v1

Check notice on line 232 in .github/workflows/update-dependencies.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

superfluous-actions

update-dependencies.yml:232: action functionality is already included by the runner: use `gh issue edit --add-label` or `gh pr edit --add-label` in a script step
if: ${{ github.event.inputs.triggerTests == 1 && steps.push-branch.outputs.branch_pushed == 1 }}
with:
github_token: ${{ steps.generate-token.outputs.token }}
Expand Down
Loading
Loading