-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 938 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
---
name: status
"on":
workflow_dispatch:
schedule:
- cron: "30 5 * * *"
jobs:
status:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 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: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions
author_email: [email protected]
add: STATUS.md .github/STATUS
message: "docs: automated status update [skip ci]"
push: true
commit: --signoff
...