Skip to content

Conversation

@sakina1303
Copy link
Contributor

@sakina1303 sakina1303 commented Jun 16, 2025

This PR adds the required permissions for the Release Drafter workflow to function properly with Dependabot PRs.
with the help of the docs, I observed that the workflow needed:

  • contents: write
  • pull-requests: write

In order to ensure Release Drafter can properly draft releases for Dependabot PRs and be manually triggered if needed,
I also added (workflow_dispatch) to enable manual triggering of the workflow for testing purposes.

Testing done

  • YAML syntax validated locally.
  • Changes pushed to a separate branch: fix/release-drafter-permissions-clean.
  • Manual workflow run not tested due to permission limitations on forked repositories

Submitter checklist

[x] Opened from a feature branch (fix/release-drafter-permissions-clean)
[x] PR title clearly reflects the changelog purpose
[x] Described the changes clearly
[x] Verified file structure and syntax
[x] Change is small and scoped properly

Fixes #84

@timja timja merged commit c3aaad4 into jenkinsci:master Jun 17, 2025
2 checks passed
@jglick
Copy link
Member

jglick commented Dec 12, 2025

#114 (comment) FWIW

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.

Release drafter workflow has broken permissions

3 participants