Skip to content

Merge pull request #9 from ScriptAutomate/fix-repo-links #25

Merge pull request #9 from ScriptAutomate/fix-repo-links

Merge pull request #9 from ScriptAutomate/fix-repo-links #25

Workflow file for this run

name: Lint Awesome List
on:
workflow_dispatch: # Enables on-demand/manual triggering
pull_request:
branches:
- main
push:
branches:
- main
jobs:
awesome-bot:
strategy:
fail-fast: false
matrix:
files:
- "README.md"
runs-on: ubuntu-latest
steps:
- name: "checkout repo"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "setup ruby"
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.5
bundler-cache: true
- name: "install awesome-bot"
run: gem install awesome_bot
- name: "linting: ${{ matrix.files }}"
run: awesome_bot --allow-dupe --white-list $(cat white-list.txt) --allow-redirect ${{ matrix.files }}