-
Notifications
You must be signed in to change notification settings - Fork 2.7k
32 lines (31 loc) · 939 Bytes
/
awesome-bot.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
name: awesome-bot
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
awesome-bot:
env:
white-list: "https://github.com/quozd/awesome-dotnet,https://products.aspose.com,https://www.manning.com,https:/github.com/dotnetcore/FreeSql"
strategy:
fail-fast: false
matrix:
files:
- "README.md"
runs-on: ubuntu-latest
steps:
- name: "checkout repo"
uses: actions/[email protected]
with:
fetch-depth: 0
- name: "setup ruby"
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.1
bundler-cache: true
- name: "install awesome-bot"
run: gem install awesome_bot
- name: "linting: ${{ matrix.files }}"
run: awesome_bot --allow-redirect --allow-dupe --allow-ssl -d 1 -a 302,429 -w "${{ env.white-list }}" ${{ matrix.files }}