From b1163e1e432485f47387ea45892dcc9b318f946e Mon Sep 17 00:00:00 2001 From: Gustavo de Souza dos Reis Date: Fri, 8 Nov 2024 08:49:51 -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