Skip to content

release-composite

release-composite #4

---
name: release-composite
on:
push:
branches: [main]
paths: [CHANGELOG.md] # your changelog file if different
workflow_dispatch:
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}-${{ github.action }}
# cancel-in-progress: true
permissions:
pull-requests: write
checks: write
# NOTE: individual jobs define more narrowly scoped permissions.
# Release requires so must be defined here
contents: write
actions: read
jobs:
lint:
uses: ./.github/workflows/lint.yml
secrets: inherit
scan:

Check failure on line 25 in .github/workflows/release-composite.yml

View workflow run for this annotation

GitHub Actions / release-composite

Invalid workflow file

The workflow is not valid. .github/workflows/release-composite.yml (Line: 25, Col: 3): Error calling workflow 'DelineaXPM/dsv-k8s-sidecar/.github/workflows/scan.yml@62533640b832860adb5e349fe00c0650ec534921'. The workflow is requesting 'security-events: write', but is only allowed 'security-events: none'.
uses: ./.github/workflows/scan.yml
secrets: inherit
test:
uses: ./.github/workflows/test.yml
secrets: inherit
release:
needs: [test, scan]
uses: ./.github/workflows/release.yml
secrets: inherit