Skip to content

Merge pull request #25 from TheDragonCode/dependabot/github_actions/a… #18

Merge pull request #25 from TheDragonCode/dependabot/github_actions/a…

Merge pull request #25 from TheDragonCode/dependabot/github_actions/a… #18

Workflow file for this run

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@v4
- name: Checking PHP Syntax
uses: TheDragonCode/codestyler@v3
fix:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checking PHP Syntax
uses: TheDragonCode/codestyler@v3
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
fix: true