- [ci] Refactor stale yml into issue and PR sections - [ci] Only run autosquash on PR not coming from a Fork
@@ -21,7 +21,7 @@ jobs:
autosquash:
name: Autosquash
runs-on: ubuntu-18.04
- if: github.repository == 'cloudera/hue'
+ if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: tibdex/autosquash@v2
with: