Add create-release.yml
This commit is contained in:
parent
e5a03b409a
commit
6d36385f08
18
.github/workflows/create-release.yml
vendored
Normal file
18
.github/workflows/create-release.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Create Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '**'
|
||||
|
||||
jobs:
|
||||
create-github-release:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.repository.fork == false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create GitHub release
|
||||
run: |
|
||||
gh release create ${{ github.ref_name }} \
|
||||
--title "Create Pull Request ${{ github.ref_name }}" --generate-notes
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}
|
||||
Loading…
x
Reference in New Issue
Block a user