Skip to content

Conversation

@bluwy
Copy link
Member

@bluwy bluwy commented Jun 13, 2024

Description

We should check permissions before publishing the PR commit. Copied from ecosystem-ci-trigger.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

runs-on: ubuntu-latest

steps:
- if: github.event.issue.pull_request
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we can check the role in the previous step? using github.event.comment.author_association == 'MEMBER' ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Perhaps that works too, but I won't able to test it now 😅

@bluwy
Copy link
Member Author

bluwy commented Jun 14, 2024

Merging this in for now before we get compromised 😬

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