jaegertracing / documentation

Documentation/website for the Jaeger Distributed Tracing project.
https://jaegertracing.io/
Apache License 2.0
67 stars 161 forks source link

[Feature]: Create GitHub Action to block PRs from ${fork}/main branch #687

Closed varshith257 closed 6 months ago

varshith257 commented 6 months ago

Requirement

We should set up a new workflow that will fail if the PR is submitted from main branch. This workflow should be added to jearger/jarger-ui/documentation repositories (perhaps we need a reusable action - only if the check logic is reasonably complex).

Problem

Making PR changes on the main branch of a fork is a bad practice, and breaks some of our workflows that check if the current branch is main before doing certain steps (like trying to push to Docker).

Proposal

No response

Open questions

No response

varshith257 commented 6 months ago

Will update on it

yurishkuro commented 6 months ago

Please link to main issue (you didn't need a new ticket in the docs repo).