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

tests: add integration test for pull_request_target #139

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zmiklank
Copy link
Member

Would be good to have some simple setup for different targets in our integration tests.
I am setting this to a draft for now, as we need to make sure the test is written safely before we merge it.

statuses: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
Copy link
Member Author

Choose a reason for hiding this comment

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

If we use pull_request_target we need to checkout specifically to the PR HEAD SHA.

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.28%. Comparing base (b1c8c43) to head (37ec6bc).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #139   +/-   ##
=======================================
  Coverage   99.28%   99.28%           
=======================================
  Files           8        8           
  Lines         563      563           
  Branches       61       61           
=======================================
  Hits          559      559           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zmiklank
Copy link
Member Author

[test]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants