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 #2025

Closed

Conversation

miguelgfierro
Copy link
Collaborator

@miguelgfierro miguelgfierro commented Oct 19, 2023

Description

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

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 trigger the tests :-(

@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_admin branch October 19, 2023 11:04
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