Skip to content

Commit

Permalink
Add Gitlab parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
benr77 committed Nov 29, 2023
1 parent c731ba3 commit 0ca4552
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions grumphp.conventions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ parameters:
convention.git_blacklist.keywords: [ 'die\\(', 'dd\\(', 'dump\\(', 'var_dump\\(', 'exit;' ]
convention.git_branch_name.blacklist: [ master, main ]
convention.gitlab_lint.api_token: 'MY TOKEN'
convention.gitlab_lint.gitlab_url: 'gitlab.com/api/v4/projects/:id'
convention.gitlab_lint.gitlab_file: '.gitlab-ci.yml'
convention.doctrine_schema_check.command: './bin/console doctrine:schema:validate --skip-sync'
convention.lint_twig.command: './bin/console lint:twig templates'
convention.lint_yaml.command: './bin/console lint:yaml --parse-tags src config tests translations'
Expand Down Expand Up @@ -39,6 +41,8 @@ grumphp:
max_body_width: 72
gitlab_lint:
api_token: '%convention.gitlab_lint.api_token%'
gitlab_url: '%convention.gitlab_lint.gitlab_url%'
gitlab_file: '%convention.gitlab_lint.gitlab_file%'
lint_twig:
scripts: [["-c", '%convention.lint_twig.command%']]
triggered_by: [ twig ]
Expand Down

0 comments on commit 0ca4552

Please sign in to comment.