-
Notifications
You must be signed in to change notification settings - Fork 22
38 lines (33 loc) · 1.03 KB
/
release-to-qa.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
37
38
name: release-to-qa
on:
workflow_dispatch:
repository_dispatch:
types:
- release-to-qa
jobs:
tag-and-pr:
runs-on: ubuntu-latest
env:
working-directory: ./modules
base-branch: qa
pr-branch: develop
pr-label: automerge
steps:
- name: Repo Clone
run: |
git clone https://${{ secrets.GIT_TOKEN }}@github.com/${{ github.repository }}.git
- name: Clone Reusable Actions Repo
run: |
git clone -b master https://${{ secrets.GIT_TOKEN }}@github.com/crowdbotics/github-actions.git
- name: Checkout branch
working-directory: ${{ env.working-directory }}
run: |
git checkout ${{ env.pr-branch }}
- name: Run Release to QA Workflow
uses: ./github-actions/release-to-qa
with:
working-directory: ${{ env.working-directory }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
base-branch: ${{ env.base-branch }}
pr-branch: ${{ env.pr-branch }}
pr-label: ${{ env.pr-label }}