Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS-Fixer Tests #57

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c2e1ce4
Unify and update cla.yml
mattamon Apr 5, 2024
c121d0e
Merge remote-tracking branch 'origin/1.4' into 1.x
martineiber Apr 29, 2024
cd62f56
Update qodana.yaml
herbertroth Apr 30, 2024
6b0b2c1
Update qodana.yaml
herbertroth Apr 30, 2024
9a5c401
Delete .github/workflows/qodana.yaml
herbertroth Apr 30, 2024
f52994e
Delete qodana.yaml
herbertroth Apr 30, 2024
805322a
Delete qodana.sarif.json
herbertroth Apr 30, 2024
0fee7ea
Add interface to cache resolver and make classes final (#32)
mattamon May 8, 2024
f8acffc
Added `isPublished` method
mcop1 May 8, 2024
efa78cd
Merge pull request #33 from pimcore/add_is_published
mcop1 May 8, 2024
3ac9df2
Add predefined model to static resolver (#34)
mattamon May 13, 2024
9017a24
Apply php-cs-fixer changes
mattamon May 13, 2024
f6ed76a
[Feature] Add note resolver (#35)
mattamon May 22, 2024
045a965
Add missing authentication methods (#36)
mattamon May 28, 2024
f00da3b
Add getMail to ToolResolver (#37)
mattamon May 28, 2024
69236fa
Tags resolver (#38)
alexz707 Jun 5, 2024
f2d73da
Add Lib Video resolver (#39)
lukmzig Jun 7, 2024
e3b0fd8
Add Video thumbnail config resolver (#40)
lukmzig Jun 10, 2024
8d22fe2
Merge remote-tracking branch 'refs/remotes/origin/1.4' into 1.x
fashxp Jun 12, 2024
7a5f69e
Add Folder resolver getById. (#42)
martineiber Jun 12, 2024
5c18159
Delete qodana, sonarcloud is used for public repos.
herbertroth Jun 13, 2024
5065629
Delete qodana, sonarcloud is used for public repos.
herbertroth Jun 13, 2024
fe5f821
Merge pull request #43 from pimcore/update-cs-fixer
herbertroth Jun 13, 2024
6706205
Update cs fixer settings.
herbertroth Jun 13, 2024
ded7435
Update cs fixer settings.
herbertroth Jun 13, 2024
55de05d
Add create Folder method. (#44)
martineiber Jun 13, 2024
d668383
Update cs fixer settings.
herbertroth Jun 13, 2024
a5031ef
Update cs fixer settings.
herbertroth Jul 8, 2024
88cabdf
Update cs fixer settings.
herbertroth Jul 8, 2024
1698c50
Update cs fixer settings.
herbertroth Jul 8, 2024
b610558
Update cs fixer settings.
herbertroth Jul 8, 2024
c681647
Update cs fixer settings.
herbertroth Jul 8, 2024
1c3d7b6
Update cs fixer settings.
herbertroth Jul 8, 2024
0762e5d
Update cs fixer settings.
herbertroth Jul 8, 2024
bafc4f8
Update cs fixer settings.
herbertroth Jul 8, 2024
8d71376
Update cs fixer settings.
herbertroth Jul 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 9 additions & 29 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,14 @@
name: "CLA Assistant"
name: CLA check

on:
issue_comment:
types: [ created ]
types: [created]
pull_request_target:
types: [ opened,closed,synchronize ]
types: [opened, closed, synchronize]

jobs:
CLAssistant:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
# Beta Release
uses: cla-assistant/github-action@v2.1.1-beta
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }}
with:
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'https://github.com/pimcore/pimcore/blob/master/CLA.md' # e.g. a CLA or a DCO document
# branch should not be protected
branch: 'main'
allowlist: user1,bot*

#below are the optional inputs - If the optional inputs are not given, then default values will be taken
remote-organization-name: 'pimcore' #enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
remote-repository-name: 'cla'
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
#signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
cla-workflow:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-cla-check.yaml@v1.3.0
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
secrets:
CLA_ACTION_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }}
32 changes: 15 additions & 17 deletions .github/workflows/php-cs-fixer.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
name: "PHP-CS-Fixer"

on:
pull_request:
types: [ opened,closed,synchronize ]
push:
branches:
- "[0-9]+.[0-9]+"
- "[0-9]+.x"

- "*_actions"
- "feature-*"
-
permissions:
contents: read
contents: write

jobs:
php-cs-fixer:
permissions:
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga:latest

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply php-cs-fixer changes
php-style:
if: github.repository_owner == 'pimcore'
uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@main
secrets:
PHP_CS_FIXER_GITHUB_TOKEN: ${{ secrets.PHP_CS_FIXER_GITHUB_TOKEN }}
with:
head_ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
config_file: .php-cs-fixer.dist.php
Loading
Loading