Skip to content

chore: add id-token write permission to run-unittests workflow #106

chore: add id-token write permission to run-unittests workflow

chore: add id-token write permission to run-unittests workflow #106

Workflow file for this run

name: Feature workflow
on:
push:
branches:
- 'feature/*'
permissions:
contents: read
checks: write
jobs:
pre-commit:
name: Run pre-commit
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
unittests:

Check failure on line 28 in .github/workflows/feature.yml

View workflow run for this annotation

GitHub Actions / Feature workflow

Invalid workflow file

The workflow is not valid. .github/workflows/feature.yml (Line: 28, Col: 3): Error calling workflow 'runemalm/py-dependency-injection/.github/workflows/run-unittests.yml@e509a85f28dee10b0c5d62bd4f9a46dfcb8925cb'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/run-unittests.yml
with:
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'