This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from JensDll/staging
github-actions: merge staging into main
- Loading branch information
Showing
3 changed files
with
40 additions
and
23 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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 }} |