-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 965 Bytes
/
status.yml
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
38
39
40
41
42
43
44
45
---
name: status
"on":
workflow_dispatch:
schedule:
- cron: "30 5 * * *"
jobs:
status:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Write date
run: date >| .github/STATUS
- name: Execute script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bundle exec scripts/generate-status
- name: Update repo
run: git pull --rebase --autostash
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions
author_email: github@webhippie.de
add: STATUS.md .github/STATUS
message: "docs: automated status update [skip ci]"
push: true
commit: --signoff
...