build(deps): bump flask from 2.2.2 to 2.2.5 in /examples/build_file_generation #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 --global user.name "GH action" | |
git add gazelle_python.yaml | |
git commit -m "chore: update gazelle_python.yaml" | |
git push -u origin ${{ github.ref_name }} |