Skip to content

Commit

Permalink
[ci] #3849: Fix stable/lts configs pushing job (#3894)
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <[email protected]>
  • Loading branch information
BAStos525 authored and mversic committed Oct 17, 2023
1 parent 3c12508 commit 1159a42
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/iroha2-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,23 @@ jobs:
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
ref: iroha2-dev
- name: Setup git config
run: |
cd .git
git config --local user.name "sorabot"
git config --local user.email "<>"
token: ${{ secrets.G_ACCESS_TOKEN }}
- name: Update configs
run: |
./scripts/update_configs.sh lts
./scripts/update_configs.sh stable
- name: Commit config changes
run: |
git config --global --add safe.directory /__w/iroha/iroha
git add -A
git diff-index --quiet HEAD || git commit -m "[documentation]: Update lts/stable configs following a release" --signoff
git push origin iroha2-dev
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[documentation]: Update lts/stable configs following a release'
branch: iroha2-dev
commit_options: '--signoff'
commit_user_name: sorabot
commit_user_email: <>
commit_author: sorabot <[email protected]>

0 comments on commit 1159a42

Please sign in to comment.