Skip to content

ci(ci): add missing inputs to test and deploy jobs #2

ci(ci): add missing inputs to test and deploy jobs

ci(ci): add missing inputs to test and deploy jobs #2

Workflow file for this run

name: dotnet-demo-api CI
on:
pull_request:
push:
jobs:
test:
uses: vojtechmares/dotnet-demo-api/.github/workflows/reusable-test.yml@main
with:
dotnet-version: '9.0.x'
docker-build:

Check failure on line 13 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / dotnet-demo-api CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 13, Col: 3): Error calling workflow 'vojtechmares/dotnet-demo-api/.github/workflows/reusable-docker-build.yml@main'. The nested job 'build' is requesting 'packages: write', but is only allowed 'packages: read'.
needs: [test]
uses: vojtechmares/dotnet-demo-api/.github/workflows/reusable-docker-build.yml@main
deploy:
needs: [docker-build]
if: ${{ contains(github.ref, 'release') }}
uses: vojtechmares/dotnet-demo-api/.github/workflows/reusable-deploy.yml@main
with:
environment: fake