Skip to content

Fix some OSSF scorecard issues (#13139) #44

Fix some OSSF scorecard issues (#13139)

Fix some OSSF scorecard issues (#13139) #44

name: Publish Security Manager test app images for smoke tests
on:
push:
paths:
- "smoke-tests/images/security-manager/**"
- ".github/workflows/publish-smoke-test-security-manager-images.yml"
- ".github/workflows/reusable-publish-smoke-test-images.yml"
branches:
- main
permissions:
contents: read
jobs:
publish:
permissions:
packages: write
uses: ./.github/workflows/reusable-publish-smoke-test-images.yml
with:
project: ":smoke-tests:images:security-manager"
publish: true

Check failure on line 22 in .github/workflows/publish-smoke-test-security-manager-images.yml

View workflow run for this annotation

GitHub Actions / Publish Security Manager test app images for smoke tests

Invalid workflow file

The workflow is not valid. .github/workflows/publish-smoke-test-security-manager-images.yml (Line: 22, Col: 16): Invalid input, publish is not defined in the referenced workflow. .github/workflows/publish-smoke-test-security-manager-images.yml (Line: 16, Col: 3): Error calling workflow 'open-telemetry/opentelemetry-java-instrumentation/.github/workflows/reusable-publish-smoke-test-images.yml@dc8338c013098f3d8cf8c4d635ffd426d519e6c1'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'.
workflow-notification:
permissions:
issues: write
needs:
- publish
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.publish.result == 'success' }}