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: run static analysis for prs in self-hosted runners #13855

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sergiocazzolato
Copy link
Collaborator

With this change the prs will run static analysis

With this change the prs will run static analysis
@sergiocazzolato sergiocazzolato added the Skip spread Indicate that spread job should not run label Apr 18, 2024
@sergiocazzolato sergiocazzolato added the Simple 😃 A small PR which can be reviewed quickly label Apr 18, 2024
static-analysis:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
Copy link
Collaborator

Choose a reason for hiding this comment

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

AFAIU with pull_request_target event this will check out the base repository, please see actions/checkout#518 and https://dev.to/suzukishunsuke/secure-github-actions-by-pullrequesttarget-641

do you know how other projects are using it? I tried to search code on github, but came up empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Simple 😃 A small PR which can be reviewed quickly Skip spread Indicate that spread job should not run
Projects
None yet
2 participants