Skip to content

Maven Central publishing #8

Maven Central publishing

Maven Central publishing #8

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
workflow_call:
push:
branches:
- main
release:
types: [ created ]
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
tests:
uses: ./.github/workflows/run_tests.yml
permissions:
contents: read
checks: write
publish-maven:
needs: tests
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/run_publish_maven.yml
secrets: inherit
permissions:
contents: read
packages: write
checks: write
publish-site:

Check failure on line 35 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 35, Col: 3): Error calling workflow 'adamko-dev/dokkatoo/.github/workflows/run_publish_site.yml@4804dfefe822aa744ea971bcc29eb0670b4a6cf8'. The nested job 'deploy' is requesting 'pages: write, id-token: write', but is only allowed 'pages: none, id-token: none'.
needs: tests
if: github.ref == 'refs/heads/main' && github.event_name == 'release' && github.event.action == 'created'
uses: ./.github/workflows/run_publish_site.yml
permissions:
contents: read
packages: write
checks: write