Browse Source

[ci] Run autosquash only on the Hue repo branches (#1904)

To avoid errors on PR on Forks:
https://github.com/tibdex/autosquash/issues/53
Romain Rigaux 4 years ago
parent
commit
e91d0d6029
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/autosquash.yml

+ 1 - 0
.github/workflows/autosquash.yml

@@ -21,6 +21,7 @@ jobs:
   autosquash:
     name: Autosquash
     runs-on: ubuntu-18.04
+    if: github.repository == 'cloudera/hue'
     steps:
       - uses: tibdex/autosquash@v2
         with: