Skip to content

fix: add missing id-token and actions permissions to CD workflow#1434

Open
cosmin-staicu wants to merge 1 commit intomainfrom
fix/cd-permissions
Open

fix: add missing id-token and actions permissions to CD workflow#1434
cosmin-staicu wants to merge 1 commit intomainfrom
fix/cd-permissions

Conversation

@cosmin-staicu
Copy link
Member

nvalid workflow file: .github/workflows/cd.yml#L37
The workflow is not valid. .github/workflows/cd.yml (Line: 37, Col: 3): Error calling workflow 'UiPath/uipath-python/.github/workflows/publish-package.yml@0673c42'. The workflow is requesting 'actions: write, id-token: write', but is only allowed 'actions: none, id-token: none'. .github/workflows/cd.yml (Line: 37, Col: 3): Error calling workflow 'UiPath/uipath-python/.github/workflows/publish-package.yml@0673c42'. The nested job 'publish' is requesting 'id-token: write', but is only allowed 'id-token: none'.

The publish-package reusable workflow requires id-token: write for OIDC
PyPI auth and actions: write, but cd.yml only granted contents and
pull-requests read permissions.
@cosmin-staicu cosmin-staicu self-assigned this Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant