Skip to content

Commit

Permalink
Lets try using the checkout token setting (#2733)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrandhorst authored Jun 1, 2022
1 parent 29e98e4 commit 1a28766
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

with:
token: ${{ secrets.GH_PUSH_TOKEN }}
- uses: actions/cache@v3
with:
path: /home/vscode/.cache/_grpc_gateway_bazel
Expand All @@ -39,7 +40,6 @@ jobs:
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git config user.name "Renovate Bot"
git config user.email "[email protected]"
git remote set-url origin https://${{ secrets.GH_PUSH_USER }}:${{ secrets.GH_PUSH_TOKEN }}@github.com/grpc-ecosystem/grpc-gateway.git
git commit --amend --no-edit
git push --force-with-lease origin ${{ github.ref_name }}
fi
Expand All @@ -57,6 +57,8 @@ jobs:
- update_repositoriesbzl
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PUSH_TOKEN }}
- run: make install
- run: make clean
- run: make generate
Expand All @@ -66,7 +68,6 @@ jobs:
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git config user.name "Renovate Bot"
git config user.email "[email protected]"
git remote set-url origin https://${{ secrets.GH_PUSH_USER }}:${{ secrets.GH_PUSH_TOKEN }}@github.com/grpc-ecosystem/grpc-gateway.git
git commit --amend --no-edit
git push --force-with-lease origin ${{ github.ref_name }}
fi

0 comments on commit 1a28766

Please sign in to comment.