build(deps): bump webpack from 5.89.0 to 5.96.1 #512
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: Manage the "latest-stable" branch | |
# Controls when the workflow will run | |
on: | |
push: | |
permissions: write-all | |
jobs: | |
manage: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Fetch tags | |
run: git fetch origin 'refs/tags/*:refs/tags/*' | |
- name: Get the latest version | |
id: get-ref | |
run: | | |
ls -alF .git/refs/tags | |
git tag --list | |
echo "ref=$(git tag --list | awk '{print $0}END{print "zzzz"}' | grep -E 'v.*' | sort -Vr | head -n1)" | tee "$GITHUB_OUTPUT" | |
- name: Move the "latest-stable" branch | |
run: git branch --force latest-stable ${{ steps.get-ref.outputs.ref }} | |
- name: Push the "latest-stable" branch | |
run: git push --force origin latest-stable |