release-to-qa #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |