mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-22 09:37:54 +00:00
28 lines
896 B
YAML
28 lines
896 B
YAML
name: Create Release PR to production branch
|
|
|
|
on:
|
|
# Triggers the workflow on push or pull request events but only for the `master` branch
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
jobs:
|
|
# This workflow contains a single job called "deploy"
|
|
deploy:
|
|
# The type of runner that the job will run on
|
|
runs-on: ubuntu-latest
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
steps:
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
- uses: actions/checkout@v2
|
|
- name: pull-request
|
|
uses: repo-sync/pull-request@v2
|
|
with:
|
|
destination_branch: "production"
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
pr_title: ":robot: Release PR"
|
|
pr_label: "🦾 Automation"
|
|
|