forked from hugomods/site
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 970 Bytes
/
releases-builder.yaml
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
name: Releases Builder
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'
jobs:
contributors:
permissions:
contents: write
runs-on: ubuntu-latest
name: Update Releases
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.MAINTAINER_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.0'
- name: Install Releases Builder CLI
run: go install github.com/hugomods/releases-builder@latest
- name: Run Releases Builder
run: releases-builder
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update releases"
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
file_pattern: 'main/content/releases'