forked from jessicalostinspace/commit-difference-action
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.16 KB
/
cut_release_worflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Cut Scheduled Release
# on:
# schedule:
# - cron: '0 5 * * 5' # Run the job at 5PM every Friday
on:
push:
branches:
- 'development'
jobs:
cut_latest_release_branch:
name: Cut the latest release
runs-on: ubuntu-latest
steps:
- name: Checkout Development
uses: actions/checkout@v1 #checks-out your repository under $GITHUB_WORKSPACE, so your workflow can access it.
- name: Get Last Branch and Semantic Version Containing String
id: lrb
uses: jessicalostinspace/github-action-get-regex-branch@v1.0.8
with:
regex-string: 'release-v'
- name: Get Commit Diff Between 'development' and Latest Release Branch
id: cd
uses: ./
with:
base-branch: ${{ steps.lrb.outputs.last-semver-branch }}
secondary-branch: 'development'
# - name: Cut Release Branch
# id: crb
# uses: jessicalostinspace/cut-release-action@v1.0.0
# with:
# repository-url: 'https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git'
# branch-prefix: 'release-v'
# semantic-version: ${{ steps.bsv.outputs.bumped-semantic-version }}