-
-
Notifications
You must be signed in to change notification settings - Fork 16
38 lines (31 loc) · 967 Bytes
/
releases-builder.yaml
File metadata and controls
38 lines (31 loc) · 967 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
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: Releases Builder
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.MAINTAINER_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install Releases Builder CLI
run: go install github.com/hugomods/releases-builder@latest
- name: Fetch and Save Releases
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: 'content/releases'