-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
46 lines (38 loc) · 1.21 KB
/
test.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
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Check Resources
on: [push,pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout Source Files
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
- name: Run checks
id: checks
# shell: bash +e +o pipefail {0}
continue-on-error: true
run: |
gem install awesome_bot
awesome_bot \
-f README*.md \
--allow 302,429 \
--white-list https://www.firsttimersonly.com/,https://github.com/github,https://creativecommons.org/licenses/by-sa/4.0/,https://github.com/kentcdodds
# - name: Run Danger
# uses: MeilCli/danger-action@v5
# with:
# plugins_file: 'Gemfile'
# install_path: 'vendor/bundle'
# danger_file: 'Dangerfile'
# danger_id: 'danger-ci'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}