Avoid running release branch staleness tests on forked repos

PiperOrigin-RevId: 512971099
pull/12078/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent 7b6e828215
commit 09677a63e9
  1. 1
      .github/workflows/staleness_check.yml

@ -17,6 +17,7 @@ jobs:
name: Test staleness ${{ matrix.os.name }} ${{ matrix.branch}}
runs-on: ${{ matrix.os.value }}
if: ${{ github.event.repository.full_name == 'protocolbuffers/protobuf' || matrix.branch == 'main '}}
steps:
- name: Checkout ${{ matrix.branch }}
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

Loading…
Cancel
Save