Skip job on non-local repo

This commit is contained in:
Jaco
2022-02-23 12:33:49 +02:00
parent 8604939a2f
commit 278fb511f0
+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