Skip to content

Fikser sonarissues

Fikser sonarissues #46

Workflow file for this run

name: Bygg
on:
push:
branches:
- '**'
paths-ignore:
- '**.md'
- '**.MD'
- '.editorconfig'
- '.gitignore'
- '.java-version'
- 'LICENSE'
- 'CODEOWNERS'
- 'docs/**'
- '.github/*.yml'
jobs:
build-feature:
name: Build
uses: navikt/fp-gha-workflows/.github/workflows/build-feature.yml@main
with:
sonar-scan: true
secrets: inherit
release-drafter:

Check failure on line 26 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Bygg

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 26, Col: 3): Error calling workflow 'navikt/fp-gha-workflows/.github/workflows/release-drafter.yml@main'. The nested job 'update_release_draft' is requesting 'contents: write, pull-requests: read', but is only allowed 'contents: read, pull-requests: none'.
name: Update
if: github.ref_name == 'master'
needs: build-feature
uses: navikt/fp-gha-workflows/.github/workflows/release-drafter.yml@main
secrets: inherit