Skip to content

ci(github): migrate to LayeredCraft workflows #509

ci(github): migrate to LayeredCraft workflows

ci(github): migrate to LayeredCraft workflows #509

Workflow file for this run

name: PR Build
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [main]
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/docs.yaml'
- 'pyproject.toml'
- 'uv.lock'
- '**.md'
concurrency:
group: pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
pr-build:

Check failure on line 20 in .github/workflows/pr-build.yaml

View workflow run for this annotation

GitHub Actions / PR Build

Invalid workflow file

The workflow is not valid. .github/workflows/pr-build.yaml (Line: 20, Col: 3): Error calling workflow 'LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v10.1'. The workflow is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.
uses: LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v10.1
with:
solution: MinimalLambda.sln
dotnetVersion: 11.0.x
buildConfiguration: Release
hasTests: true
useMtpRunner: true
enableCodeCoverage: true
coverageThreshold: 0
runCdk: false
secrets: inherit