Skip to content
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

Test whether a PR from a maintainer is executed without label 3 #2027

Closed

Conversation

miguelgfierro
Copy link
Collaborator

Description

if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == 'false') || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test'))

Related Issues

#1853

References

Checklist:

  • I have followed the contribution guidelines and code style for this project.
  • I have added tests covering my contributions.
  • I have updated the documentation accordingly.
  • This PR is being made to staging branch and not to main branch.

Signed-off-by: miguelgfierro <[email protected]>
@miguelgfierro
Copy link
Collaborator Author

it doesn't work o_o

@miguelgfierro miguelgfierro added the safe to test The PR is safe to execute the tests label Oct 19, 2023
@miguelgfierro
Copy link
Collaborator Author

If I add safe to test, it doesn't work either

@miguelgfierro miguelgfierro deleted the miguel/test_pr_admin3 branch October 19, 2023 11:22
@miguelgfierro miguelgfierro changed the title Test whether a PR from a maintainer is executed without label Test whether a PR from a maintainer is executed without label 3 Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test The PR is safe to execute the tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant