Skip to content

Commit

Permalink
use a GH action to push back
Browse files Browse the repository at this point in the history
  • Loading branch information
aignas committed Feb 16, 2024
1 parent 282d713 commit 5ac72d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/examples_build_file_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ jobs:
# If there are no changes, git diff will exit with 0
if git diff --exit-code gazelle_python.yaml >/dev/null; then exit 0; fi
git config --global user.email "bot@example.com"
git config --global user.name "GH action"
git config --local user.name "github-actions[bot]"
git add gazelle_python.yaml
git commit -m "chore: update gazelle_python.yaml"
git push -u origin ${{ github.ref_name }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit 5ac72d0

Please sign in to comment.