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:
5959 runs-on : ubuntu-latest
6060 container :
6161 image : hyperledger/iroha2-ci:nightly-2023-06-25
62+ permissions :
63+ contents : write
6264 steps :
6365 - uses : actions/checkout@v3
6466 with :
6567 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 }}
7169 - name : Update configs
7270 run : |
7371 ./scripts/update_configs.sh lts
7472 ./scripts/update_configs.sh stable
7573 - 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