mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Automatically fast-forward the release branch on release
This commit is contained in:
parent
d1f3d1fa55
commit
ff262d55c8
22
.github/workflows/ff-release.yml
vendored
Normal file
22
.github/workflows/ff-release.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Fast-Forward Release Branch
|
||||
on: [ release ]
|
||||
|
||||
jobs:
|
||||
fast-forward:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: release
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Merge into Release
|
||||
run: |
|
||||
git merge ${{github.ref_name}} --ff-only
|
||||
|
||||
- name: Push Changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: release
|
3
.github/workflows/ksp-publish.yml
vendored
3
.github/workflows/ksp-publish.yml
vendored
@ -1,5 +1,4 @@
|
||||
|
||||
name: build
|
||||
name: Build and Release
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
|
Loading…
Reference in New Issue
Block a user