fixup! [#26] ci: Use correct username when pushing new PRs
This commit is contained in:
parent
a5a9eeca48
commit
04918c5c73
1 changed files with 5 additions and 3 deletions
|
@ -8,12 +8,14 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: make clean_data update
|
||||
- run: |
|
||||
- name: Update LOCODE database
|
||||
run: make clean_data update
|
||||
- name: Create pull request with new data
|
||||
run: |
|
||||
git config user.name "Snegurochka"
|
||||
git config user.email "snegurochka@frostfs.info"
|
||||
git switch -c update-dbs
|
||||
git add .
|
||||
git remote set-url origin https://${{ env.GITHUB_ACTOR }}:${{ secrets.GITHUB_TOKEN }}@git.frostfs.info/TrueCloudLab/frostfs-locode-db
|
||||
git remote set-url origin https://snegurochka:${{ secrets.PULL_REQUEST_TOKEN }}@git.frostfs.info/TrueCloudLab/frostfs-locode-db
|
||||
git commit -sm "Automatic database update (UN/LOCODE version $(cat tmp/locode-version.txt))" && \
|
||||
git push origin HEAD:refs/for/master -o topic=automatic-database-update
|
||||
|
|
Loading…
Add table
Reference in a new issue