Skip to content

Conversation

@coolreader18
Copy link
Collaborator

Description of Changes

See the successful workflow run and the comment it posted

@coolreader18 coolreader18 force-pushed the noa/gh-actions-benchmarks-please branch from d7e1db5 to 9ad7b5d Compare October 25, 2023 18:25
@coolreader18 coolreader18 force-pushed the noa/gh-actions-benchmarks-please branch from 9ad7b5d to 36401e5 Compare October 25, 2023 18:32
Copy link
Contributor

@kurtismullins kurtismullins left a comment

Choose a reason for hiding this comment

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

Looks good to me! Lets give it a try.

- name: Check membership
if: ${{ env.PR_NUMBER }}
run:
if [[ $(gh api /orgs/{owner}/members --jq 'any(.login == env.GITHUB_ACTOR)') != true ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

In the future, we may want to look into CODEOWNERS but this is great and easy to follow.

@coolreader18 coolreader18 merged commit 427270c into master Oct 26, 2023
@coolreader18 coolreader18 deleted the noa/gh-actions-benchmarks-please branch October 26, 2023 04:36
@coolreader18
Copy link
Collaborator Author

test

@coolreader18
Copy link
Collaborator Author

well, it will indeed create a workflow run for every single comment made in the repository, even though it gets filtered by the if condition. but not much that can be done about that, I don't think

jdetter pushed a commit that referenced this pull request Oct 31, 2023
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