mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-11 13:54:06 -06:00
Clean up workflow files for Zizmor (#2121)
This commit is contained in:
parent
0d06d4c57f
commit
df7ea5a6a6
9
.github/workflows/ci-bwa.yml
vendored
9
.github/workflows/ci-bwa.yml
vendored
@ -42,12 +42,11 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
xcode-version:
|
xcode-version:
|
||||||
description: "Xcode Version Override - e.g. '15.2'"
|
description: "Xcode Version Override - e.g. '15.2'"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version:
|
version:
|
||||||
@ -64,6 +63,8 @@ jobs:
|
|||||||
build-manual:
|
build-manual:
|
||||||
name: Build Manual - ${{ inputs.build-mode }}
|
name: Build Manual - ${{ inputs.build-mode }}
|
||||||
needs: version
|
needs: version
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
|
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
|
||||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||||
with:
|
with:
|
||||||
@ -79,6 +80,8 @@ jobs:
|
|||||||
build-public:
|
build-public:
|
||||||
name: Build CI
|
name: Build CI
|
||||||
needs: version
|
needs: version
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
|
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
|
||||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
9
.github/workflows/ci-bwpm.yml
vendored
9
.github/workflows/ci-bwpm.yml
vendored
@ -45,12 +45,11 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
xcode-version:
|
xcode-version:
|
||||||
description: "Xcode Version Override - e.g. '15.2'"
|
description: "Xcode Version Override - e.g. '15.2'"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version:
|
version:
|
||||||
@ -67,6 +66,8 @@ jobs:
|
|||||||
build-manual:
|
build-manual:
|
||||||
name: Build Manual - ${{ inputs.build-variant }} (${{ inputs.build-mode }})
|
name: Build Manual - ${{ inputs.build-variant }} (${{ inputs.build-mode }})
|
||||||
needs: version
|
needs: version
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
|
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
|
||||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||||
with:
|
with:
|
||||||
@ -82,6 +83,8 @@ jobs:
|
|||||||
build-public:
|
build-public:
|
||||||
name: Build CI
|
name: Build CI
|
||||||
needs: version
|
needs: version
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
|
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
|
||||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user