8000 Only run CI tests if PR is not from a fork by jdbcode · Pull Request #180 · google/Xee · GitHub
[go: up one dir, main page]

Skip to content

Only run CI tests if PR is not from a fork - #180

Merged
copybara-service[bot] merged 1 commit into
mainfrom
jdbcode-ci-build
Oct 4, 2024
Merged

copybara-service[bot] merged 1 commit into
mainfrom
jdbcode-ci-build

Conversation

@jdbcode
@jdbcode jdbcode commented Oct 4, 2024 •
Copy link
Copy Markdown
Member

We have CI testing triggered on PRs. However, we don't want to expose auth-related secrets to run tests on forks, so auth fails by default on PRs coming from external contributors (see here). We should detect if PR is from a fork and not run CI tests, if true. This PR adds this logic based on https://github.com/orgs/community/discussions/25217.

@copybara-service
copybara-service Bot merged commit 9cee0a9 into main Oct 4, 2024
copybara-service Bot pushed a commit that referenced this pull request Jan 29, 2025
…e run from a fork.

Reverts #180

PiperOrigin-RevId: 721035978
copybara-service Bot pushed a commit that referenced this pull request Jan 29, 2025
…e run from a fork.

Reverts #180

PiperOrigin-RevId: 721035978
copybara-service Bot pushed a commit that referenced this pull request Jan 29, 2025
…e run from a fork.

Reverts #180

PiperOrigin-RevId: 721035978
copybara-service Bot pushed a commit that referenced this pull request Jan 30, 2025
…e run from a fork.

Reverts #180

PiperOrigin-RevId: 721035978
copybara-service Bot pushed a commit that referenced this pull request Jan 30, 2025
…e run from a fork.

Reverts #180

PiperOrigin-RevId: 721035978
copybara-service Bot pushed a commit that referenced this pull request Jan 30, 2025
…e run from a fork.

Reverts #180

PiperOrigin-RevId: 721384596
@jdbcode
jdbcode deleted the jdbcode-ci-build branch January 30, 2025 16:48
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

0