-
-
Notifications
You must be signed in to change notification settings - Fork 21
30 lines (24 loc) · 864 Bytes
/
lf-release.yml
File metadata and controls
30 lines (24 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'Linuxfabrik: Release'
on:
push:
tags:
- 'v*'
# modify the default permissions granted to the GITHUB_TOKEN
permissions: 'read-all'
jobs:
release:
runs-on: 'ubuntu-latest'
permissions:
contents: 'write' # to push to the repo and create the release
steps:
- name: 'Harden the runner (Audit all outbound calls)'
uses: 'step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40' # v2.19.0
with:
egress-policy: 'audit'
- name: 'Create GitHub Release for ${{ github.ref_name }}'
uses: 'softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda' # v3.0.0
with:
tag_name: '${{ github.ref_name }}'
body: |
Release Notes/CHANGELOG at https://github.com/Linuxfabrik/lfops/blob/main/CHANGELOG.md
prerelease: false