From c9149a76631b1b6801555391bb5c435c1c24983f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 25 Jun 2020 00:21:05 +0530 Subject: github: update actions for updated branching logic Signed-off-by: Harsh Shandilya --- .github/workflows/branch_deploy.yml | 2 +- .github/workflows/deploy_snapshot.yml | 2 +- .github/workflows/draft_new_release.yml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/branch_deploy.yml b/.github/workflows/branch_deploy.yml index 46f84ce0..76494f2a 100644 --- a/.github/workflows/branch_deploy.yml +++ b/.github/workflows/branch_deploy.yml @@ -1,7 +1,7 @@ on: push: branches-ignore: - - master + - develop paths: - '.github/**' - 'app/**' diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml index 55086c17..e34e41bf 100644 --- a/.github/workflows/deploy_snapshot.yml +++ b/.github/workflows/deploy_snapshot.yml @@ -1,7 +1,7 @@ on: push: branches: - - master + - develop name: Deploy snapshot builds jobs: diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index f83afe61..d45f200a 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + ref: 'release' - name: Extract version from milestone run: | VERSION="${{ github.event.milestone.title }}" @@ -41,5 +43,5 @@ jobs: with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} head: release/${{ env.RELEASE_VERSION }} - base: master + base: release title: Release ${{ env.RELEASE_VERSION }} -- cgit v1.2.3