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

[improve][CI] Ensure that ssh-access is only activated for PRs outside of apache/pulsar repo #17606

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Sep 13, 2022

Motivation

  • the if condition was missing for the ssh-access step in pulsar-java-test-image build job

Modifications

  • add the missing if condition to pulsar-java-test-image build job
  • add additional condition so that ssh-access is limited to pull requests in a forked repository
    • this is a better default

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

…sts outside of apache/pulsar

- the if condition was missing for the ssh-access step in pulsar-java-test-image build job

- add additional condition that applies to only pull_request events.
  - this is a better default
@lhotari lhotari added this to the 2.12.0 milestone Sep 13, 2022
@lhotari lhotari self-assigned this Sep 13, 2022
@lhotari
Copy link
Member Author

lhotari commented Sep 13, 2022

I noticed the missing if condition since ssh-access was activated for this PR: https://github.com/apache/pulsar/actions/runs/3042275396/jobs/4901047274#step:4:134

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 13, 2022
@lhotari lhotari closed this Sep 14, 2022
@lhotari lhotari reopened this Sep 14, 2022
@lhotari lhotari merged commit 0cf1dd6 into apache:master Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci doc-not-needed Your PR changes do not impact docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants