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

[Chore] Run CI checks on 'pull_request' #236

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Conversation

rvem
Copy link
Member

@rvem rvem commented Sep 18, 2023

Problem: We want to be able to run CI checks on PRs from external forks.
However, this is only possible with 'on: pull_request', while currently
CI is triggered 'on: push'

Solution: Change CI triggering condition to 'on: pull_request'.

Problem: We want to be able to run CI checks on PRs from external forks.
However, this is only possible with 'on: pull_request', while currently
CI is triggered 'on: push'

Solution: Change CI triggering condition to 'on: pull_request'.
@rvem rvem requested a review from a team September 18, 2023 10:41
@PhilTaken
Copy link
Collaborator

Is this not security relevant? Docker has a bunch of problems that can lead to escaping the container. Malicious PRs on selfhosted runners (if they still are for the serokell org) could exploit those vulnerabilities if not properly secured.

@rvem
Copy link
Member Author

rvem commented Sep 18, 2023

Is this not security relevant?

External jobs require manual approval in order to run, so this should be relatively safe as long as we check what we actually run on our CI 😅

@rvem rvem merged commit e3f4183 into master Sep 18, 2023
1 check passed
@delete-merged-branch delete-merged-branch bot deleted the rvem/run-ci-on-pull_request branch September 18, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants