diff --git a/.github/workflows/afids-validator_ci.yml b/.github/workflows/afids-validator_ci.yml index f621a959..6f61238c 100644 --- a/.github/workflows/afids-validator_ci.yml +++ b/.github/workflows/afids-validator_ci.yml @@ -113,7 +113,7 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" deploy: - name: Release and deploy + name: Heroku deploy needs: [test] runs-on: ubuntu-latest if: github.event.pull_request.merged == true @@ -124,11 +124,6 @@ jobs: with: ref: refs/heads/master - - name: Draft release - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Deploy heroku app uses: akhileshns/heroku-deploy@v3.0.4 with: diff --git a/.github/workflows/version_bump.yml b/.github/workflows/version_bump.yml new file mode 100644 index 00000000..154cba6b --- /dev/null +++ b/.github/workflows/version_bump.yml @@ -0,0 +1,18 @@ +name: AFIDs Validator Version Bumper + +on: + push: + branches: + - master + pull_request: + types: [opened, reopened, synchronize] + +jobs: + update_release_draft: + runs-on: ubuntu-latest + + steps: + - name: Draft release + uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}