Add nais and github workflow #1
build-and-deploy.yaml
on: push
next-app
/
Test and lint
next-app
/
Build for demo
next-app
/
Build for dev
next-app
/
Build for prod
next-app
/
Deploy branch to demo
next-app
/
Deploy main to demo
next-app
/
Deploy to dev
next-app
/
Deploy to prod
Annotations
1 error
Invalid workflow file:
.github/workflows/build-and-deploy.yaml#L5
The workflow is not valid. .github/workflows/build-and-deploy.yaml (Line: 5, Col: 3): Error calling workflow 'navikt/teamesyfo-github-actions-workflows/.github/workflows/next-app.yaml@main'. The nested job 'build-dev' is requesting 'packages: write, id-token: write', but is only allowed 'packages: read, id-token: none'. .github/workflows/build-and-deploy.yaml (Line: 5, Col: 3): Error calling workflow 'navikt/teamesyfo-github-actions-workflows/.github/workflows/next-app.yaml@main'. The nested job 'build-demo' is requesting 'packages: write, id-token: write', but is only allowed 'packages: read, id-token: none'.
|