Debian Codegraph @

.github/workflows/gh-release.yml

raw
1 on:
2 push:
3 # Sequence of patterns matched against refs/tags
4 tags:
5 - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
6
7 name: Create Release
8
9 permissions:
10 contents: read
11
12 jobs:
13 build:
14 permissions:
15 contents: write # for actions/create-release to create a release
16 name: Create Release
17 runs-on: ubuntu-latest
18 steps:
19 - name: Checkout code
20 uses: actions/checkout@v6
21 - name: Create Release
22 id: create_release
23 uses: actions/create-release@v1
24 env:
25 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
26 with:
27 tag_name: ${{ github.ref }}
28 release_name: Release ${{ github.ref }}
29 body: |
30 See [CHANGELOG.md](https://github.com/joke2k/faker/blob/${{ github.ref }}/CHANGELOG.md).
31 draft: false
32 prerelease: false