Skip to content

JGC-448 - Add explicit GITHUB_TOKEN permissions to CLA workflow#3428

Merged
RemiBou merged 1 commit intomasterfrom
feature/JGC-448-fix-cla-workflow-permissions
Apr 13, 2026
Merged

JGC-448 - Add explicit GITHUB_TOKEN permissions to CLA workflow#3428
RemiBou merged 1 commit intomasterfrom
feature/JGC-448-fix-cla-workflow-permissions

Conversation

@RemiBou
Copy link
Copy Markdown
Contributor

@RemiBou RemiBou commented Apr 13, 2026

Summary

Aligns jfrog-cli CLA Assistant workflow with jfrog-cli-core (see jfrog/jfrog-cli-core#1523). Tracks JGC-448.

Problem

When workflow default GITHUB_TOKEN permissions are read-only at org/repo level, the contributor-assistant action cannot comment on PRs or set commit statuses, so the CLA check fails.

Changes

  • Declare explicit workflow permissions (actions, contents, pull-requests, statuses).
  • Limit pull_request_target to PRs targeting master.

Supersedes #3427 (duplicate Jira ticket removed).

@RemiBou RemiBou added the safe to test Approve running integration tests on a pull request label Apr 13, 2026
@RemiBou RemiBou enabled auto-merge (squash) April 13, 2026 11:15
@RemiBou RemiBou merged commit 1f076c6 into master Apr 13, 2026
78 of 80 checks passed
@RemiBou RemiBou deleted the feature/JGC-448-fix-cla-workflow-permissions branch April 13, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants