forked from yakamara/redaxo_yrewrite
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 95d6267 Author: Markus Staab <markus.staab@redaxo.de> Date: Sat Nov 14 11:49:37 2020 +0100 more phpstan coverage (yakamara#379) commit 7154107 Author: Markus Staab <markus.staab@redaxo.de> Date: Tue Nov 10 18:32:16 2020 +0100 use checkout without token, to make the workflow work in forks (yakamara#378) commit 6b2ab39 Author: Markus Staab <markus.staab@redaxo.de> Date: Fri Nov 6 14:59:05 2020 +0100 Add chatops phpstan-baseline command (yakamara#374) commit 30f612c Author: Markus Staab <markus.staab@redaxo.de> Date: Thu Nov 5 21:41:13 2020 +0100 Allow newer phpstan versions (yakamara#375) commit 1840b9e Author: Markus Staab <markus.staab@redaxo.de> Date: Sun Nov 1 10:05:43 2020 +0100 fix phpstan warning and phpdoc (yakamara#371) commit 72ebea3 Author: Markus Staab <markus.staab@redaxo.de> Date: Sun Nov 1 09:58:14 2020 +0100 fix typo (yakamara#370) commit 3f0a05f Author: Markus Staab <markus.staab@redaxo.de> Date: Sun Nov 1 09:52:19 2020 +0100 Setup GithubAction and phpstan analysis (yakamara#369) commit 0a6feb9 Author: Gregor Harlan <mail@gh01.de> Date: Fri Sep 18 12:59:08 2020 +0200 Release 2.7 commit ff8314b Author: Gregor Harlan <mail@gh01.de> Date: Fri Sep 18 12:19:16 2020 +0200 Optional Unicode-URLs unterstützen (yakamara#360) commit be8d0d8 Author: Gregor Harlan <mail@gh01.de> Date: Thu Sep 17 14:22:31 2020 +0200 Custom URL: Slash am Ende automatisch ergänzen/entfernen closes yakamara#347 commit e385a07 Author: Daniel Springer <dsp.springer@googlemail.com> Date: Thu Sep 17 13:54:01 2020 +0200 Korrigiert bei Domains mit subfolder die Sitemap (yakamara#357) Bei Domains mit subfolder wurde die sitemap.xml nicht richtig generiert: yakamara#306 Dieser Fix behabt das Problem yakamara#306 commit cd4026b Author: Gregor Harlan <mail@gh01.de> Date: Wed Sep 16 13:40:14 2020 +0200 Deprecated getClang durch getClangId ersetzt commit 98d66c5 Author: Gregor Harlan <mail@gh01.de> Date: Wed Sep 16 13:37:28 2020 +0200 Ungenutzte Sprachkeys entfernt commit 7582b5c Author: Gregor Harlan <mail@gh01.de> Date: Wed Sep 16 13:35:32 2020 +0200 URL-Typ pro Artikel Automatisch / Eigene URL / Umleitung zu Artikel / Umleitung zu URL closes yakamara#124 commit b5fb085 Author: Gregor Harlan <mail@gh01.de> Date: Tue Sep 15 15:16:33 2020 +0200 Weiterleitungen: Parameter werden unterstützt closes yakamara#359 commit c8a11cf Author: Gregor Harlan <mail@gh01.de> Date: Tue Sep 15 12:55:00 2020 +0200 markup korrigiert commit a52a6cc Author: Gregor Harlan <mail@gh01.de> Date: Mon Sep 14 16:10:47 2020 +0200 Notice vermeiden fixes yakamara#252 commit b879abb Author: Gregor Harlan <mail@gh01.de> Date: Mon Sep 14 13:09:49 2020 +0200 Domains mit Portangabe sind wieder speicherbar fixes yakamara#303
- Loading branch information
Showing
30 changed files
with
648 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Chatops | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
slash-command-dispatch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Slash Command Dispatch | ||
uses: peter-evans/slash-command-dispatch@v2 | ||
with: | ||
token: ${{ secrets.STAABM_TOKEN }} | ||
# reactions should be reported from github itself | ||
reaction-token: ${{ secrets.GITHUB_TOKEN }} | ||
commands: phpstan-baseline | ||
issue-type: pull-request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: PHP Checks | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
repository_dispatch: | ||
types: [phpstan-baseline-command] # triggered by /phpstan-baseline PR comment | ||
|
||
jobs: | ||
|
||
phpstan-analysis: | ||
name: phpstan static code analysis | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Add action run link to trigger comment | ||
if: "github.event_name == 'repository_dispatch'" | ||
uses: peter-evans/create-or-update-comment@v1 | ||
with: | ||
token: ${{ secrets.STAABM_TOKEN }} | ||
repository: ${{ github.event.client_payload.github.payload.repository.full_name }} | ||
comment-id: ${{ github.event.client_payload.github.payload.comment.id }} | ||
body: | | ||
``` | ||
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
``` | ||
- uses: actions/checkout@v2 | ||
if: "github.event_name == 'repository_dispatch'" | ||
with: | ||
token: ${{ secrets.STAABM_TOKEN }} | ||
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.client_payload.pull_request.head.ref }} | ||
|
||
# use checkout without token, to make the workflow work in forks | ||
- uses: actions/checkout@v2 | ||
if: "github.event_name != 'repository_dispatch'" | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
extensions: intl, imagick | ||
coverage: none # disable xdebug, pcov | ||
|
||
- name: Install Dependencies | ||
run: composer install --ansi --prefer-dist | ||
|
||
- run: composer phpstan-baseline # generate baseline | ||
if: "github.event_name == 'repository_dispatch'" | ||
- name: Commit changed files | ||
if: "github.event_name == 'repository_dispatch'" | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Apply phpstan-baseline changes | ||
branch: ${{ github.head_ref }} | ||
file_pattern: '*.neon' | ||
|
||
- run: vendor/bin/phpstan analyse --ansi --no-progress | ||
if: "github.event_name != 'repository_dispatch'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: PHP Checks | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
|
||
rex-lint: | ||
name: REX Linting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.1 | ||
extensions: intl | ||
coverage: none # disable xdebug, pcov | ||
- run: | | ||
composer require --dev friendsofredaxo/linter && vendor/bin/rexlint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
vendor/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "yakamara/redaxo_yrewrite", | ||
|
||
"require-dev": { | ||
"redaxo/source": "^5.8", | ||
"phpstan/phpstan": "^0.12.52" | ||
}, | ||
"scripts": { | ||
"phpstan": "phpstan analyse", | ||
"phpstan-baseline": "phpstan analyse --generate-baseline" | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"lib/" | ||
] | ||
} | ||
} |
Oops, something went wrong.