Skip to content

Commit

Permalink
Merge code-style rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Sep 8, 2022
1 parent c6e4ef1 commit 46e57f0
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 33 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: code-style

on:
push:
pull_request:

permissions: write-all

jobs:
check:
if: ${{ ! (github.event_name == 'push' && github.ref == 'refs/heads/main') }}

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Checking PHP Syntax
uses: TheDragonCode/[email protected]

fix:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Checking PHP Syntax
uses: TheDragonCode/[email protected]
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
fix: true
14 changes: 0 additions & 14 deletions .github/workflows/lint-check.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/lint-fixer.yml

This file was deleted.

0 comments on commit 46e57f0

Please sign in to comment.