Skip to content

ci: add commitlint to enforce conventional commits #35

ci: add commitlint to enforce conventional commits

ci: add commitlint to enforce conventional commits #35

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml: Anchors are not currently supported. Remove the anchor 'deduplicate'
on:
push:
pull_request:
jobs:
commit_lint:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
permissions:
contents: read
pull-requests: read
uses: ./.github/workflows/_commit_lint.yaml
devcontainer:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: &deduplicate github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
uses: ./.github/workflows/_devcontainer.yaml
bundler_lint:
if: *deduplicate
uses: ./.github/workflows/_bundler_lint.yaml
bundler_test:
if: *deduplicate
uses: ./.github/workflows/_bundler_test.yaml
bundler_container:
if: *deduplicate
needs:
- bundler_lint
- bundler_test
permissions:
contents: read
packages: write
uses: ./.github/workflows/_bundler_container.yaml
bundler_docs:
if: *deduplicate
uses: ./.github/workflows/_bundler_docs.yaml
policy_lint:
if: *deduplicate
uses: ./.github/workflows/_policy_lint.yaml
policy_test:
if: *deduplicate
uses: ./.github/workflows/_policy_test.yaml
policy_container:
if: *deduplicate
needs:
- policy_lint
- policy_test
permissions:
contents: read
packages: write
uses: ./.github/workflows/_policy_container.yaml
helm_chart_lint:
if: *deduplicate
uses: ./.github/workflows/_helm_chart_lint.yaml
helm_chart_publish:
if: *deduplicate
needs: helm_chart_lint
permissions:
contents: read
packages: write
uses: ./.github/workflows/_helm_chart_publish.yaml
docs_lint:
if: *deduplicate
uses: ./.github/workflows/_docs_lint.yaml
docs_build:
if: *deduplicate
uses: ./.github/workflows/_docs_build.yaml
techdocs_publish:
if: *deduplicate
needs:
- docs_lint
- docs_build
uses: ./.github/workflows/_techdocs_publish.yaml
pages_build:
if: *deduplicate
needs:
- bundler_docs
- docs_lint
- docs_build
uses: ./.github/workflows/_pages_build.yaml
pages_publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: pages_build
permissions:
pages: write
id-token: write
uses: ./.github/workflows/_pages_publish.yaml