Skip to content

status

status #1126

Workflow file for this run

---
# yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json
name: status
"on":
workflow_dispatch:
schedule:
- cron: "30 5 * * *"
permissions:
contents: read
jobs:
status:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2
with:
app_id: ${{ secrets.TOKEN_EXCHANGE_APP }}
installation_retrieval_mode: id
installation_retrieval_payload: ${{ secrets.TOKEN_EXCHANGE_INSTALL }}
private_key: ${{ secrets.TOKEN_EXCHANGE_KEY }}
permissions: >-
{"contents": "write"}
- name: Checkout source
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
with:
token: ${{ steps.token.outputs.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@a94899bca583c204427a224a7af87c02f9b325d5 # 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
...