Skip to content

Commit

Permalink
Merge pull request #85 from TheDragonCode/2.x
Browse files Browse the repository at this point in the history
Update GitHub Actions rules
  • Loading branch information
Andrey Helldar committed Jun 24, 2022
2 parents 417776f + 4cf3e97 commit c9d730c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/lint-check.yml
@@ -1,6 +1,8 @@
name: "Code-Style Check"

on: [ push, pull_request ]
on: [ pull_request ]

permissions: read-all

jobs:
check:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint-fixer.yml
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches: [ main ]

permissions: write-all

jobs:
fix:
runs-on: ubuntu-latest
Expand All @@ -17,3 +19,4 @@ jobs:
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
fix: true
editorconfig: false
4 changes: 3 additions & 1 deletion .github/workflows/phpunit.yml
@@ -1,6 +1,8 @@
name: phpunit

on: [ push, pull_request ]
on: [ push ]

permissions: read-all

jobs:
build:
Expand Down

0 comments on commit c9d730c

Please sign in to comment.