File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -59,22 +59,23 @@ jobs:
59
59
runs-on : ubuntu-latest
60
60
container :
61
61
image : hyperledger/iroha2-ci:nightly-2023-06-25
62
+ permissions :
63
+ contents : write
62
64
steps :
63
65
- uses : actions/checkout@v3
64
66
with :
65
67
ref : iroha2-dev
66
- - name : Setup git config
67
- run : |
68
- cd .git
69
- git config --local user.name "sorabot"
70
- git config --local user.email "<>"
68
+ token : ${{ secrets.G_ACCESS_TOKEN }}
71
69
- name : Update configs
72
70
run : |
73
71
./scripts/update_configs.sh lts
74
72
./scripts/update_configs.sh stable
75
73
- name : Commit config changes
76
- run : |
77
- git config --global --add safe.directory /__w/iroha/iroha
78
- git add -A
79
- git diff-index --quiet HEAD || git commit -m "[documentation]: Update lts/stable configs following a release" --signoff
80
- git push origin iroha2-dev
74
+ uses : stefanzweifel/git-auto-commit-action@v4
75
+ with :
76
+ commit_message : ' [documentation]: Update lts/stable configs following a release'
77
+ branch : iroha2-dev
78
+ commit_options : ' --signoff'
79
+ commit_user_name : sorabot
80
+ commit_user_email : <>
81
+ commit_author : sorabot <actions@github.com>
You can’t perform that action at this time.
0 commit comments