Skip to content

Commit 6a00c1e

Browse files
committed
dedupe?
1 parent a123c26 commit 6a00c1e

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: autofix.ci # needed to securely identify the workflow by the action
22

33
on:
4+
pull_request:
45
push:
6+
branches:
7+
- master
58

69
jobs:
710
php-cs-fixer:
@@ -19,7 +22,7 @@ jobs:
1922
- uses: ramsey/composer-install@v2
2023

2124
- run: vendor/bin/php-cs-fixer fix
22-
23-
- uses: autofix-ci/action@v1
24-
with:
25-
commit-message: Apply php-cs-fixer changes
25+
#
26+
# - uses: autofix-ci/action@v1
27+
# with:
28+
# commit-message: Apply php-cs-fixer changes

.github/workflows/autoformat.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Autoformat
1+
name: autofix.ci # needed to securely identify the workflow by the action
22

33
on:
44
pull_request:
@@ -65,4 +65,8 @@ jobs:
6565

6666
- uses: ramsey/composer-install@v2
6767

68-
- run: vendor/bin/php-cs-fixer
68+
- run: vendor/bin/php-cs-fixer fix
69+
70+
- uses: autofix-ci/action@v1
71+
with:
72+
commit-message: Apply php-cs-fixer changes

0 commit comments

Comments
 (0)