-
Notifications
You must be signed in to change notification settings - Fork 139
Change Github Action permissions #3465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Change Github Action permissions #3465
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
f5031e1 to
0fed78b
Compare
d3a2dbc to
605e130
Compare
605e130 to
48d9e7b
Compare
Currently the commit-message-validator.yml Github Action raise an issue
when the commit message is improper:
Resource not accessible by integration
Let's try if this would help.
Signed-off-by: Daniel Pawlik <[email protected]>
48d9e7b to
6c08a1a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in my own fork: michburk#2
The commit body workflow seems to trigger twice on each event (make sure to check the collapsed "1 similar comment" sections in the above pr), and there are extra 'my comment' comments.
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| issue_number: context.issue.number, | ||
| body: 'my comment' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds an additional my comment comment from the bot on the pr
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, edited, reopened] | ||
| pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think running on both pull_request_target AND pull_request [open/sync/edit/reopen] means the workflow will run twice for each event, leaving two comments instead of one. Maybe we could just trigger on pull_request_target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried, nothing helped.
Currently the commit-message-validator.yml Github Action raise an issue
when the commit message is improper:
Let's try if this would help.