Skip to content

fix(docker/build-image)!: add write cache permission #1874

fix(docker/build-image)!: add write cache permission

fix(docker/build-image)!: add write cache permission #1874

---
name: Internal - Pull request - Continuous Integration
on: # yamllint disable-line rule:truthy
merge_group:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
ci:

Check failure on line 16 in .github/workflows/__pull-request-ci.yml

View workflow run for this annotation

GitHub Actions / Internal - Pull request - Continuous Integration

Invalid workflow file

The workflow is not valid. .github/workflows/__pull-request-ci.yml (Line: 16, Col: 3): Error calling workflow 'hoverkraft-tech/ci-github-container/.github/workflows/__shared-ci.yml@1bd0f22ad622f9f4ee9b1d9188fb12f15ba9fd98'. The nested job 'test-workflow-docker-build-images-building' is requesting 'actions: write', but is only allowed 'actions: read'. .github/workflows/__pull-request-ci.yml (Line: 16, Col: 3): Error calling workflow 'hoverkraft-tech/ci-github-container/.github/workflows/__shared-ci.yml@1bd0f22ad622f9f4ee9b1d9188fb12f15ba9fd98'. The nested job 'test-workflow-docker-build-images-caching' is requesting 'actions: write', but is only allowed 'actions: read'.
uses: ./.github/workflows/__shared-ci.yml
permissions:
actions: read
contents: read
id-token: write
issues: write
packages: write
pull-requests: write
security-events: write
statuses: write
secrets:
CI_BOT_APP_PRIVATE_KEY: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}