mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 09:01:17 -08:00
30 lines
679 B
YAML
30 lines
679 B
YAML
name: Release
|
|
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
branches: [dev]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
release:
|
|
if: github.head_ref == 'release' && github.event.pull_request.merged == true
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- uses: knope-dev/action@19617851f9f13ab2f27a05989c55efb18aca3675 # v2.1.2
|
|
with:
|
|
version: 0.22.3
|
|
|
|
- name: Create Release
|
|
run: knope release --verbose
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|