Skip to content

Commit

Permalink
genera messages automatically (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Aug 12, 2023
1 parent d4115e1 commit 1462446
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/msgs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: msgs

on:
schedule:
- cron: '4 5 * * *'
workflow_dispatch:

jobs:
msgs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
go-version: "1.20"

- run: cd / && go install mvdan.cc/[email protected]

- run: make msgs-nodocker

- run: |
test -z "$(git status --porcelain)" ||
( make test-nodocker \
&& git add . \
&& git config user.name goroslib-bot \
&& git config user.email bot@goroslib \
&& git commit -m "(automatic) update messages" \
&& git push )

0 comments on commit 1462446

Please sign in to comment.