Skip to content

Sketch out GH workflow for generating repos.md #1

Sketch out GH workflow for generating repos.md

Sketch out GH workflow for generating repos.md #1

Workflow file for this run

name: Docs
on: [push]
# Restrict to one CI run at a time, per branch. In progress runs are *not* cancelled, but pending runs are
# cancelled, except for the most recent: https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
repos.md:

Check failure on line 11 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Docs

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 11, Col: 3): The identifier 'repos.md' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
- name: Setup Ruby
# Docs: https://github.com/ruby/setup-ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # Runs bundle install and caches gems
ruby-version: .ruby-version
- name: Checkout code
uses: actions/checkout@v4
- name: Generate repos.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bin/get_project_data > repos.md
- name: Debug repos.md
run: cat repos.md
- name: Commit repos.md
run: echo "TODO Commit repos.md"