Skip to content

Refresh author list #40

Refresh author list

Refresh author list #40

name: Refresh author list
on:
workflow_dispatch:
schedule:
# Thursday mornings
- cron: '42 7 * * 4'
jobs:
refresh-versions:
runs-on: ubuntu-latest
name: Refresh authors
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Run refresh script
run: |
set -euo pipefail
bash refresh-authors.sh
if [ -z "$(git status --porcelain)" ]; then exit 0; fi
git config --global user.name 'Syncthing Release Automation'
git config --global user.email '[email protected]'
git commit -am 'Update author list'
git push