From 7f72be18c415451058a50773e966825ec4486116 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Fri, 3 May 2024 19:01:06 +0100 Subject: [PATCH] ci: Add a GH workflow for bumping version automatically --- .github/workflows/version-bump.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/version-bump.yml diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml new file mode 100644 index 0000000..22746c1 --- /dev/null +++ b/.github/workflows/version-bump.yml @@ -0,0 +1,23 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master + +name: Version Bump PR + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Setup git author name + uses: fregante/setup-git-user@v2 + + - name: Create PR to bump version + run: | + release-please release-pr --token=${{ secrets.GITHUB_TOKEN }} --repo-url=KDAB/vscode-qttest