Skip to content

fix(config): adds permissions #5

fix(config): adds permissions

fix(config): adds permissions #5

Workflow file for this run

name: CI/CD Pipeline
permissions:
contents: write
pages: write
id-token: write
on:
pull_request:
push:
branches:
- main
jobs:
lint:
uses: kurocado-studio/styleguide/.github/workflows/lint.yml@main
secrets: inherit
test:
needs: lint
uses: kurocado-studio/styleguide/.github/workflows/test.yml@main
secrets: inherit
document:
needs: test
uses: kurocado-studio/styleguide/.github/workflows/writerside-documentation.yml@main
secrets: inherit
release:

Check failure on line 29 in .github/workflows/ci.cd.yml

View workflow run for this annotation

GitHub Actions / CI/CD Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/ci.cd.yml (Line: 29, Col: 3): Error calling workflow 'kurocado-studio/styleguide/.github/workflows/release.yml@main'. The workflow is requesting 'pull-requests: write', but is only allowed 'pull-requests: none'.
needs: document
uses: kurocado-studio/styleguide/.github/workflows/release.yml@main
secrets: inherit
if: |
github.event_name == 'push' &&
github.ref == 'refs/heads/main'