status #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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: 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 | |
... |