Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/git-pr-status-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ concurrency:
group: building-blocks-${{ 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:
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@main"
secrets: inherit
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@chore/os_preparations"
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 }}"
17 changes: 15 additions & 2 deletions .github/workflows/pr-status-checks-workflow-call-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,21 @@ 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:
if: ${{ github.event.pull_request.head.repo.full_name != 'openmcp-project/blueprint-building-blocks' }}
uses: "openmcp-project/blueprint-building-blocks/.github/workflows/git-pr-status-checks.yml@main"
secrets: inherit
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@chore/os_preparations"
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 }}"
17 changes: 15 additions & 2 deletions .github/workflows/pr-status-checks-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,21 @@ 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:
if: ${{ github.event.pull_request.head.repo.full_name == 'openmcp-project/blueprint-building-blocks' }}
uses: "openmcp-project/blueprint-building-blocks/.github/workflows/git-pr-status-checks.yml@main"
secrets: inherit
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@chore/os_preparations"
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 }}"
Loading