Skip job on non-local repo

This commit is contained in:
Jaco 2022-02-23 12:41:09 +02:00
parent 266e7d30c7
commit b8c4e13802

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