mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 20:22:24 +00:00
[ci] add conditional if on forks
This commit is contained in:
parent
9af4223bd6
commit
d204364e39
7
.github/workflows/ci_review.yaml
vendored
7
.github/workflows/ci_review.yaml
vendored
|
@ -71,10 +71,15 @@ jobs:
|
|||
|
||||
- run: composer install --no-progress --ansi
|
||||
|
||||
- run: ${{ matrix.actions.write_run }}
|
||||
-
|
||||
# Check if the event is not triggered by a fork
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
run: ${{ matrix.actions.write_run }}
|
||||
|
||||
# see https://github.com/EndBug/add-and-commit
|
||||
-
|
||||
# Check if the event is not triggered by a fork
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
uses: EndBug/add-and-commit@v5.1.0
|
||||
with:
|
||||
# The arguments for the `git add` command (see the paragraph below for more info)
|
||||
|
|
Loading…
Reference in New Issue
Block a user