Skip to content

build: restrict permissions for commitlint#195

Merged
tokoko merged 1 commit into
substrait-io:mainfrom
bestbeforetoday:commitlint-permissions
Jun 17, 2026
Merged

build: restrict permissions for commitlint#195
tokoko merged 1 commit into
substrait-io:mainfrom
bestbeforetoday:commitlint-permissions

Conversation

@bestbeforetoday

Copy link
Copy Markdown
Member

The pr-title workflow gives elevated pull-request write permissions to the third-party commitlint tool. This is a potential supply-chain vulnerability.

This change restricts the permissions to only read for the commitlint tool.

The pr-title workflow gives elevated pull-request write permissions to
the third-party commitlint tool. This is a potential supply-chain
vulnerability.

This change restricts the permissions to only read for the commitlint
tool.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@CLAassistant

CLAassistant commented Jun 17, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@tokoko tokoko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tbh I'd rather we don't post the PR message at all 😆 but this is better than nothing

@tokoko tokoko merged commit 42bcfb8 into substrait-io:main Jun 17, 2026
20 checks passed
@bestbeforetoday

Copy link
Copy Markdown
Member Author

tbh I'd rather we don't post the PR message at all 😆 but this is better than nothing

I am also not overly keen on the way comments are added and then removed. It would be nice if there was some other way to provide supporting information in the Details link when the PR check workflow fails. The DCO sign-off check app does this, but I don't know how.

@bestbeforetoday bestbeforetoday deleted the commitlint-permissions branch June 18, 2026 08:10
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.

3 participants