fix: use ci prefix for dependabot commits #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint_commits: | |
# 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 | |
uses: ./.github/workflows/_lint_commits.yaml | |
helm_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 | |
uses: ./.github/workflows/_helm_lint.yaml | |
supergraph_generate: | |
# 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 | |
uses: ./.github/workflows/_supergraph_generate.yaml | |
supergraph_publish: | |
# 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 | |
needs: | |
- helm_lint | |
- supergraph_generate | |
uses: ./.github/workflows/_supergraph_publish.yaml | |
permissions: | |
contents: read | |
packages: write | |
compose_workflow: | |
# 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 | |
uses: ./.github/workflows/_compose_workflow.yaml | |
update_workflow: | |
# 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 | |
uses: ./.github/workflows/_update_workflow.yaml | |
secrets: | |
GRAPH_FEDERATOR: ${{ secrets.GRAPH_FEDERATOR }} | |
docs: | |
# 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 | |
uses: ./.github/workflows/_docs.yaml | |
permissions: | |
pages: write | |
id-token: write | |
with: | |
publish: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} |