Skip to content

build(deps): bump flask from 2.2.2 to 2.2.5 in /examples/build_file_generation #9

build(deps): bump flask from 2.2.2 to 2.2.5 in /examples/build_file_generation

build(deps): bump flask from 2.2.2 to 2.2.5 in /examples/build_file_generation #9

---
name: Update gazelle manifest
on:
pull_request:
types:
- opened
- synchronize
paths:
- 'examples/build_file_generation/requirements*.txt'
permissions:
pull-requests: write
contents: write
jobs:
update:
runs-on: ubuntu-latest
#if: github.actor == 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update gazelle manifest
working-directory: examples/build_file_generation
run: |
bazel run //:gazelle_python_manifest.update
- name: Update gazelle manifest
working-directory: examples/build_file_generation
run: |
# 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 "[email protected]"
git config --local user.name "github-actions[bot]"
git add gazelle_python.yaml
git commit -m "chore: update gazelle_python.yaml"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}