-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (34 loc) · 998 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":
workflow_dispatch:
schedule:
- cron: "0 8 * * 1"
jobs:
release:
runs-on: ubuntu-latest
if: github.repository_owner == 'rolehippie'
steps:
- name: Checkout source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Semantic release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}
with:
extra_plugins: |
- name: Write buildtime
run: date >| .github/RELEASEDATE
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions
author_email: [email protected]
add: .github/RELEASEDATE
message: "docs: automated release update [skip ci]"
push: true
commit: --signoff
...