-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 985 Bytes
/
release.yml
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
31
32
33
34
35
36
37
38
39
40
41
---
name: release
"on":
schedule:
- cron: "0 8 * * 1"
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Write buildtime
run: date >| .github/RELEASEDATE
- name: Semantic release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}
with:
extra_plugins: |
@semantic-release/exec
conventional-changelog-conventionalcommits@6.1.0
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions
author_email: github@webhippie.de
add: .github/RELEASEDATE
message: "docs: automated release update [skip ci]"
push: true
commit: --signoff
...