diff --git a/.forgejo/workflows/updatechecker.yml b/.forgejo/workflows/updatechecker.yml index be56fd7..a40ca79 100644 --- a/.forgejo/workflows/updatechecker.yml +++ b/.forgejo/workflows/updatechecker.yml @@ -14,6 +14,6 @@ jobs: git config user.email "snegurochka@frostfs.info" git switch -c update-dbs git add . - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@git.frostfs.info/TrueCloudLab/frostfs-locode-db + git remote set-url origin https://${{ env.GITHUB_ACTOR }}:${{ secrets.GITHUB_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