Skip to content

Modified CI to run tests on pull requests with label#27

Merged
lwr20 merged 1 commit intoprojectcalico:mainfrom
lwr20:lwr-test-prs
Sep 25, 2025
Merged

Modified CI to run tests on pull requests with label#27
lwr20 merged 1 commit intoprojectcalico:mainfrom
lwr20:lwr-test-prs

Conversation

@lwr20
Copy link
Member

@lwr20 lwr20 commented Sep 25, 2025

Modified CI to run tests on pull requests which have the "safe to test" label

@lwr20 lwr20 requested a review from Copilot September 25, 2025 09:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modifies the CI workflow to enable testing on pull requests with a "safe to test" label while maintaining security by using pull_request_target instead of pull_request.

Key changes:

  • Added pull_request_target trigger with label-based conditional execution
  • Updated checkout action to use the correct SHA for pull requests
  • Restricted deployment to push events only

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@lwr20 lwr20 marked this pull request as ready for review September 25, 2025 09:23
@lwr20 lwr20 changed the title Modified CI to run tests on pull requests which have the "safe to tes… Modified CI to run tests on pull requests with label Sep 25, 2025
@lwr20 lwr20 merged commit a6bd5f2 into projectcalico:main Sep 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants