Bump vite from 4.4.11 to 4.5.0 in /swift_browser_ui_frontend #289
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
# https://github.com/dependabot/dependabot-core/issues/1736 | |
# inspired by: https://gist.github.com/Purpzie/8ed86ae38c73f440881bbee0523a324b | |
name: Dependabot | |
on: pull_request_target | |
permissions: read-all | |
jobs: | |
fetch-dependabot-metadata: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
outputs: | |
package-ecosystem: ${{ steps.metadata.outputs.package-ecosystem }} | |
steps: | |
- name: Dependabot metadata | |
id: metadata | |
uses: dependabot/[email protected] | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
update-lockfile: | |
runs-on: ubuntu-latest | |
needs: [fetch-dependabot-metadata] | |
if: needs.fetch-dependabot-metadata.outputs.package-ecosystem == 'npm_and_yarn' | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
token: ${{secrets.PAT}} | |
- name: Update pnpm lock file | |
run: pnpm i --lockfile-only --prefix swift_browser_ui_frontend | |
- name: Trigger update | |
run: | | |
git config --global user.name github-actions[bot] | |
git config --global user.email github-actions[bot]@users.noreply.github.com | |
git add swift_browser_ui_frontend/pnpm-lock.yaml | |
git commit -m "Update pnpm-lock.yaml" | |
git push |