github: update actions for updated branching logic

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-06-25 00:21:05 +05:30
parent e1f81e8f4b
commit c9149a7663
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
on:
push:
branches-ignore:
- master
- develop
paths:
- '.github/**'
- 'app/**'

View file

@ -1,7 +1,7 @@
on:
push:
branches:
- master
- develop
name: Deploy snapshot builds
jobs:

View file

@ -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 }}