Skip to content

fix: grant write permissions to main build call inside nightly build#724

Merged
wangzlei merged 1 commit intomainfrom
fix-collector-permission
Apr 15, 2026
Merged

fix: grant write permissions to main build call inside nightly build#724
wangzlei merged 1 commit intomainfrom
fix-collector-permission

Conversation

@ezhang6811
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
Nightly build runs have been failing with the following error:

The workflow is not valid. .github/workflows/nightly-build.yml (Line: 95, Col: 3): Error calling workflow 'aws-observability/aws-otel-python-instrumentation/.github/workflows/main-build.yml@6779621'. The nested job 'build-agentcore-collector' is requesting 'actions: write', but is only allowed 'actions: none'.

This PR adds the write permission needed by build-agentcore-collector in the build-collector step (where it saves to cache), and grants the permission accordingly in nightly-build.yml.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ezhang6811 ezhang6811 requested a review from a team as a code owner April 15, 2026 21:28
@ezhang6811 ezhang6811 added the skip changelog doesn't need a CHANGELOG entry label Apr 15, 2026
@wangzlei wangzlei enabled auto-merge (squash) April 15, 2026 21:29
@wangzlei wangzlei merged commit e729533 into main Apr 15, 2026
30 checks passed
@wangzlei wangzlei deleted the fix-collector-permission branch April 15, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog doesn't need a CHANGELOG entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants