Skip to content

Fix workflow params (#13141) #94

Fix workflow params (#13141)

Fix workflow params (#13141) #94

name: Publish Spring Boot images for smoke tests
on:
push:
paths:
- "smoke-tests/images/spring-boot/**"
- ".github/workflows/publish-smoke-test-spring-boot-images.yml"
- ".github/workflows/reusable-publish-smoke-test-images.yml"
branches:
- main
permissions:
contents: read
jobs:
publish:

Check failure on line 16 in .github/workflows/publish-smoke-test-spring-boot-images.yml

View workflow run for this annotation

GitHub Actions / Publish Spring Boot images for smoke tests

Invalid workflow file

The workflow is not valid. .github/workflows/publish-smoke-test-spring-boot-images.yml (Line: 16, Col: 3): Error calling workflow 'open-telemetry/opentelemetry-java-instrumentation/.github/workflows/reusable-publish-smoke-test-images.yml@c4ff8d7889ce563cb83ac01371bb1f8bda8018b2'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'.
permissions:
packages: write
uses: ./.github/workflows/reusable-publish-smoke-test-images.yml
with:
project: ":smoke-tests:images:spring-boot"
workflow-notification:
permissions:
issues: write
needs:
- publish
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}