diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index d15cf8f2f..3dd7a4b50 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest ## Only run this on the main repo - if: github.repository == 'Slimefun/Slimefun4' + if: github.event.pull_request.head.repo.full_name == 'Slimefun/Slimefun4' steps: - name: Approve via actions diff --git a/.github/workflows/auto-squash.yml b/.github/workflows/auto-squash.yml index 3da1cefe6..489d97b89 100644 --- a/.github/workflows/auto-squash.yml +++ b/.github/workflows/auto-squash.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest ## Only run this on the main repo - if: github.head_ref == 'Slimefun/Slimefun4' + if: github.event.pull_request.head.repo.full_name == 'Slimefun/Slimefun4' steps: - name: Auto squash