From 38910f0b1caa1c2b4fd1e39d851bb71b886b2c5d Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Fri, 17 Sep 2021 14:38:28 -0400 Subject: [PATCH] precommit fixes --- .github/workflows/afids-validator_ci.yml | 7 +------ .github/workflows/version_bump.yml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/version_bump.yml 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 }}