File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
+ - dev
7
8
8
9
jobs :
9
10
format :
11
+ if : github.repository == 'remix-run/react-router'
10
12
runs-on : ubuntu-latest
11
13
12
14
steps :
15
17
16
18
- name : Checkout Repository
17
19
uses : actions/checkout@v2
20
+ with :
21
+ token : ${{ secrets.FORMAT_PAT }}
18
22
19
23
- name : Use Node.js
20
24
uses : actions/setup-node@v2
@@ -29,14 +33,14 @@ jobs:
29
33
30
34
- name : Commit
31
35
run : |
32
- git config --local user.email "github-actions @remix.run"
36
+ git config --local user.email "hello @remix.run"
33
37
git config --local user.name "Remix Run Bot"
34
38
35
39
git add .
36
40
if [ -z "$(git status --porcelain)" ]; then
37
41
echo "💿 no formatting changed"
38
42
exit 0
39
43
fi
40
- git commit -m "chore: format" -m "formatted $GITHUB_SHA"
44
+ git commit -m "chore: format"
41
45
git push
42
46
echo "💿 pushed formatting changes https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)"
You can’t perform that action at this time.
0 commit comments