Skip job on non-local repo

This commit is contained in:
Jaco
2022-02-23 12:33:41 +02:00
parent b8e01fd674
commit 5bf87262bc
+1
View File
@@ -4,6 +4,7 @@ on: pull_request
jobs:
auto-approve:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2