mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 10:46:40 +00:00
34 lines
1018 B
YAML
34 lines
1018 B
YAML
---
|
|
name: Update Metadata
|
|
concurrency: jimeh/emacs-builds/update-metadata
|
|
on:
|
|
schedule:
|
|
- cron: "0 0,12 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-metadata:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout meta branch
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: meta
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "1.21"
|
|
- name: update total downloads shield JSON
|
|
run: >-
|
|
go run . badges downloads -o total-downloads/shield.json
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }}
|
|
- name: commit and push changes to meta branch
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: "chore(meta): update metadata files"
|
|
commit_user_name: github-actions[bot]
|
|
commit_user_email: github-actions[bot]@users.noreply.github.com
|
|
commit_author: >-
|
|
github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
skip_dirty_check: false
|