Skip to content

Commit

Permalink
Merge pull request #6735 from Himangini/fix-update-generated-workflow
Browse files Browse the repository at this point in the history
Add identity action to update-generated workflow
  • Loading branch information
Himangini authored Jun 23, 2023
2 parents 54b99f1 + f05640a commit 50f0b3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup identity as weaveworksbot
uses: ./.github/actions/setup-identity
with:
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Cache go-build and mod
uses: actions/cache@v3
with:
Expand All @@ -36,8 +40,6 @@ jobs:
run: |
git checkout $DEFAULT_BRANCH
git checkout -B $UPDATE_BRANCH
git config user.name "weaveworksbot"
git config user.email "[email protected]"
git add -u
if ! EDITOR=true git commit -m "Update aws-node"; then
echo "changes=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 50f0b3c

Please sign in to comment.