File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
3
on :
4
- pull_request :
5
- branches :
6
- - " *"
4
+ push :
7
5
paths-ignore :
8
6
- " .github/**"
9
7
- " .gitignore"
Original file line number Diff line number Diff line change 19
19
name : Checkout
20
20
uses : actions/checkout@v4
21
21
with :
22
+ persist-credentials : false
22
23
ref : ${{ github.event.pull_request.head.sha }}
23
24
fetch-depth : 0
25
+ token : ${{ secrets.LUNCHMONEY_PAT_TOKEN }}
24
26
-
25
27
name : Setup Ruby
26
28
uses : ruby/setup-ruby@v1
@@ -31,10 +33,12 @@ jobs:
31
33
run : bin/toys rbi all_types
32
34
-
33
35
name : Commit RBIs
36
+ env :
37
+ GITHUB_TOKEN : ${{ secrets.LUNCHMONEY_PAT_TOKEN }}
34
38
run : |
35
39
git checkout ${{ github.head_ref }}
36
- git config user.name "Dependabot RBI Updater"
37
- git config user.email action@github.com
38
- git add sorbet/*
39
- git diff-index --quiet HEAD || git commit -m "[dependabot skip] Update RBIs"
40
+ git config --local user.name "Dependabot RBI Updater"
41
+ git config --local user.email action@github.com
42
+ git commit -a -m "[dependabot skip] Update RBIs" --author="Dependabot RBI Updater <action@github.com>"
40
43
git push
44
+
You can’t perform that action at this time.
0 commit comments