You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
619 B
28 lines
619 B
name: Merge Develop into Master
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
merge-master:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Create App Token
|
|
uses: actions/create-github-app-token@v1
|
|
id: app-token
|
|
with:
|
|
app-id: ${{ vars.APP_ID }}
|
|
private-key: ${{ secrets.APP_TOKEN }}
|
|
|
|
- name: Check Out Repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ steps.app-token.outputs.token }}
|
|
ref: develop
|
|
fetch-depth: 0
|
|
|
|
- name: Push Develop into Master
|
|
run: |
|
|
git push origin refs/heads/develop:refs/heads/master
|