Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Feb 28, 2023
1 parent 6ee434a commit 9617684
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions templates/rector-github-action-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ name: Rector
on:
pull_request: null


jobs:
rector:
# Don't run on forks.
if: github.repository == '__CURRENT_REPOSITORY__'

runs-on: ubuntu-latest

steps:
-
uses: actions/checkout@v3
Expand All @@ -27,10 +24,8 @@ jobs:

- uses: "ramsey/composer-install@v2"

## here can't be --dry-run, it would stop the job
- run: vendor/bin/rector --ansi

# see https://github.com/EndBug/add-and-commit
-
# commit only to core contributors who have repository access
if: github.event.pull_request.head.repo.full_name == github.repository
Expand Down

0 comments on commit 9617684

Please sign in to comment.