chore(deps-dev): bump brace-expansion from 1.1.12 to 1.1.13 #309
Workflow file for this run
This file contains hidden or 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
| # Copyright 2026 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| name: Update Lockfile | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| update-lockfile: | |
| if: startsWith(github.head_ref, 'release-please--') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup Node | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies to update lockfile | |
| run: npm install --package-lock-only --ignore-scripts | |
| - name: Commit and Push changes | |
| run: | | |
| # Check if package-lock.json changed | |
| if git diff --quiet package-lock.json; then | |
| echo "No changes to package-lock.json" | |
| exit 0 | |
| fi | |
| # Configure git | |
| git config user.name "release-please[bot]" | |
| git config user.email "55107282+release-please[bot]@users.noreply.github.com" | |
| # Commit and push | |
| git add package-lock.json | |
| git commit -m "chore: update package-lock.json" | |
| git push origin HEAD:${GITHUB_HEAD_REF} |