Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Merge staging into main #3

Merge staging into main

Merge staging into main #3

name: Merge staging into main
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
create_pull_request:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Checking out the repository
uses: actions/checkout@v3.5.2
- name: Creating pull request
uses: ./.github/actions/create_pull
with:
# Make sure to trigger pull request workflows
github_token: ${{ secrets.WORKFLOW_TOKEN }}
base: main
head: staging
title: "github-actions: merge staging into main"
merge_pull_request:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checking out the repository
uses: actions/checkout@v3.5.2
- name: Merging pull request
uses: ./.github/actions/merge_pull
with:
# Make sure to trigger push workflows
github_token: ${{ secrets.WORKFLOW_TOKEN }}
pull_number: ${{ github.event.number }}