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
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
name: ci

Check warning on line 15 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

ci-build.yml:15: overly broad permissions: default permissions used due to no permissions: block

on:
# Triggers the workflow on push or pull request events but only for the main branch
Expand All @@ -24,13 +24,13 @@
workflow_dispatch:

jobs:
validate-metadata:

Check warning on line 27 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

ci-build.yml:27: overly broad permissions: default permissions used due to no permissions: block
name: "validate package metadata"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

Check failure on line 31 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 31 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

ci-build.yml:31: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Set up Python 3.11
uses: actions/setup-python@v6
uses: actions/setup-python@v7

Check failure on line 33 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 33 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

ci-build.yml:33: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
python-version: "3.11"
- name: Validate optional dependency relationships
Expand Down Expand Up @@ -72,23 +72,23 @@
id-token: write # This is required for requesting the JWT.
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.13.1

Check failure on line 75 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 75 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

ci-build.yml:75: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
access_token: ${{ github.token }}
if: ${{github.ref != 'refs/head/main'}}
- uses: actions/checkout@v7

Check failure on line 79 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 79 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

ci-build.yml:79: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7

Check failure on line 81 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 81 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

ci-build.yml:81: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Xee
run: |
pip install -e .[tests]
- uses: 'actions/checkout@v7'

Check failure on line 88 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 88 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

ci-build.yml:88: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v3'

Check failure on line 91 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 91 in .github/workflows/ci-build.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

ci-build.yml:91: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
service_account: ${{ secrets.SERVICE_ACCOUNT }}
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
workflow_dispatch:

jobs:
build:

Check warning on line 27 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

lint.yml:27: overly broad permissions: default permissions used due to no permissions: block
name: "python ${{ matrix.python-version }} lint"
runs-on: ubuntu-latest
strategy:
Expand All @@ -36,13 +36,13 @@
]
steps:
- name: Cancel previous
uses: styfle/cancel-workflow-action@0.13.1

Check failure on line 39 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 39 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

lint.yml:39: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
access_token: ${{ github.token }}
if: ${{github.ref != 'refs/head/main'}}
- uses: actions/checkout@v7

Check failure on line 43 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 43 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

lint.yml:43: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7

Check failure on line 45 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

lint.yml:45: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
python-version: ${{ matrix.python-version }}
- name: Get pip cache dir
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
ref: ${{ github.event.release.tag_name || inputs.tag }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.13"

Expand All @@ -75,5 +75,5 @@

- name: Publish to PyPI
if: github.event_name == 'release' || !inputs.dry_run
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

Check notice on line 78 in .github/workflows/publish.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

publish.yml:78: prefer trusted publishing for authentication: this step
with:
Expand Down
Loading