Skip to content

chore: Legger til SupressWarnings på PMD.ApexUnitTestClassShouldHaveR… #11

chore: Legger til SupressWarnings på PMD.ApexUnitTestClassShouldHaveR…

chore: Legger til SupressWarnings på PMD.ApexUnitTestClassShouldHaveR… #11

Workflow file for this run

name: ON PUSH MAIN
run-name:
on:
push:
branches:
- main
paths:
- "src/**"
workflow_dispatch:
jobs:
build:
uses: navikt/sf-platform/.github/workflows/buildAndPublish.yml@main
permissions:
contents: write
packages: write
secrets:
SF_DEVHUB_URL: ${{ secrets.SF_DEVHUB_URL }}
create_release:
needs: build
if: needs.build.outputs.hasNewArtifacts == 'true'

Check failure on line 20 in .github/workflows/on_push_main.yml

View workflow run for this annotation

GitHub Actions / ON PUSH MAIN

Invalid workflow file

The workflow is not valid. navikt/sf-platform/.github/workflows/buildAndPublish.yml@main (Line: 20, Col: 3): Error calling workflow 'navikt/sf-platform/.github/workflows/ciStaticCodeValidation.yml@main'. The nested job 'validate' is requesting 'security-events: write', but is only allowed 'security-events: none'.
uses: navikt/sf-platform/.github/workflows/createRelease.yml@main
permissions:
contents: write
packages: read
secrets:
SF_DEVHUB_URL: ${{ secrets.SF_DEVHUB_URL }}
release_to_dev:
needs: create_release
if: needs.create_release.result == 'success'
uses: navikt/sf-platform/.github/workflows/releaseToDev.yml@main
permissions:
contents: read
packages: read
secrets:
SF_DEVHUB_URL: ${{ secrets.SF_DEVHUB_URL }}
SF_DEV_URL: ${{ secrets.SF_DEV_URL }}