Skip to content

Switch reusable workflows to main branch #18

Switch reusable workflows to main branch

Switch reusable workflows to main branch #18

name: PR Status Checks
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
pull-requests: write
contents: write
packages: read
actions: write
checks: write
statuses: write
jobs:
pr-status-check:

Check failure on line 21 in .github/workflows/pr-status-checks-workflow-call.yml

View workflow run for this annotation

GitHub Actions / PR Status Checks

Invalid workflow file

The workflow is not valid. .github/workflows/pr-status-checks-workflow-call.yml (Line: 21, Col: 3): Error calling workflow 'openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@main'. The nested job 'pr-status-check' is requesting 'attestations: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, repository-projects: write, security-events: write, id-token: write, models: read', but is only allowed 'attestations: none, deployments: none, discussions: none,[...]
if: ${{ github.event.pull_request.head.repo.full_name == 'openmcp-project/blueprint-building-blocks' }}
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@main"
with:
HELM_OCI_REGISTRY: 'ghcr.io'
BUILDING_BLOCKS_GIT_REPO_URL: 'https://github.com/openmcp-project/blueprint-building-blocks.git'
secrets:
HELM_REPO_USERNAME: "${{ secrets.GITHUB_TOKEN }}"
HELM_REPO_TOKEN: "${{ secrets.GITHUB_TOKEN }}"