From aac2d447b708dee6d885e38048315772b9d8458f Mon Sep 17 00:00:00 2001 From: Gustavo de Souza dos Reis Date: Tue, 5 Nov 2024 15:38:33 -0300 Subject: [PATCH] ci: add workflow to update the release branch. --- .github/workflows/update-release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/update-release.yml diff --git a/.github/workflows/update-release.yml b/.github/workflows/update-release.yml new file mode 100644 index 0000000..27478f6 --- /dev/null +++ b/.github/workflows/update-release.yml @@ -0,0 +1,19 @@ +name: Update Release Branch +on: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + update-release-branch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Update release branch + run: | + git push origin ${{ github.ref_name }}:release