Skip to content

Commit a6b4844

Browse files
committed
handle permissions
1 parent 07e4f7c commit a6b4844

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
# Configure git
4949
git config --global user.name 'LocalStack Bot'
5050
git config --global user.email 'localstack-bot@users.noreply.github.com'
51+
git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
5152
5253
# make sure to switch to the `localstack` branch (default / main branch of this fork)
5354
git switch localstack
@@ -177,4 +178,6 @@ jobs:
177178
echo "Ensure that this is really only triggered if dry run is explicitly set to false"
178179
# git push --force-with-lease
179180
# git push --atomic origin localstack $NEW_VERSION
180-
# gh release create $NEW_VERSION
181+
# gh release create $NEW_VERSION
182+
env:
183+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)