Fix staleness check in forked PRs

PiperOrigin-RevId: 564855381
pull/14062/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent ef198dbae3
commit 1407088a44
  1. 2
      .github/workflows/staleness_check.yml

@ -28,7 +28,7 @@ jobs:
- name: Checkout ${{ github.head_ref && 'PR' || matrix.branch }}
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
ref: ${{ github.head_ref || matrix.branch }}
ref: ${{ inputs.safe-checkout || github.head_ref || matrix.branch }}
- name: Mark runs associated with commits
if: ${{ github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' }}

Loading…
Cancel
Save