Skip to content

Commit fe5460e

Browse files
authored
Merge pull request #76 from justaugustus/lint
Use `awesome-lint`, add Dependabot and CODEOWNERS configs
2 parents c1f0270 + 4bbb83a commit fe5460e

File tree

4 files changed

+93
-74
lines changed

4 files changed

+93
-74
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
###
2+
#
3+
# Learn about the CODEOWNERS file format: https://help.github.com/en/articles/about-code-owners
4+
#
5+
###
6+
7+
# These owners will be the default owners for everything in
8+
# the repository. Unless a later match takes precedence,
9+
# the following users/teams will be requested for
10+
# review when someone opens a pull request.
11+
* @todogroup/awesome-ospo-maintainers

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
groups:
9+
github-actions:
10+
patterns:
11+
- "*"
12+
exclude-patterns:
13+
- "actions/*"
14+
- "github/*"
15+
- "golangci/*"
16+
github-owned:
17+
patterns:
18+
- "actions/*"
19+
- "github/*"

.github/workflows/ci.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
name: CI
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
# Declare default permissions as read-only
9+
permissions: read-all
310

411
jobs:
5-
build:
12+
lint:
613
runs-on: ubuntu-latest
714
steps:
8-
- uses: actions/checkout@v2
9-
- uses: ruby/setup-ruby@v1
10-
with:
11-
ruby-version: 3.0.1
12-
- name: Run awesome_bot
13-
run: |
14-
gem install awesome_bot
15-
awesome_bot --allow 302 --skip-save-results README.md
15+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
16+
with:
17+
fetch-depth: 0
18+
persist-credentials: false
19+
- run: npx awesome-lint

0 commit comments

Comments
 (0)