Skip to content

Commit 98551bb

Browse files
authored
Update workflows, CODEOWNERS, and config files (#1759)
Removes @thedaviddias from CODEOWNERS, clarifies copilot instructions to avoid deprecated TypeScript features, and updates dependabot.yml to group GitHub Actions updates and limit open PRs. Adds a workflow for accessibility alt text checks and introduces a .npmrc file with lockfile version and registry settings.
1 parent b0efe0c commit 98551bb

File tree

5 files changed

+36
-2
lines changed

5 files changed

+36
-2
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# About CODEOWNERS - https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
22

33
* @coliff
4-
* @thedaviddias

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- Core code is in TypeScript v5.4.5.
1111
- All new rules for HTMLHint should be placed in the rules directory.
1212
- Tests for new rules should be added in rules and follow the naming pattern `<rule-name>.spec.js`.
13-
- Do not use deprecated Node.js or TypeScript features.
13+
- Do not use deprecated TypeScript features.
1414
- All user-facing messages and documentation should use clear, concise US English.
1515
- Keep dependencies up to date and avoid unnecessary packages.
1616
- All website content should be placed in the website directory and follow Astro Starlight conventions.

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ updates:
1313
update-types:
1414
- 'minor'
1515
- 'patch'
16+
1617
- package-ecosystem: npm
1718
directory: '/website'
1819
schedule:
@@ -26,7 +27,13 @@ updates:
2627
update-types:
2728
- 'minor'
2829
- 'patch'
30+
2931
- package-ecosystem: github-actions
3032
directory: '/'
3133
schedule:
3234
interval: monthly
35+
open-pull-requests-limit: 1
36+
groups:
37+
github-actions:
38+
patterns:
39+
- '*'
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Accessibility-alt-text-bot
2+
on:
3+
issues:
4+
types: [opened, edited]
5+
pull_request:
6+
types: [opened, edited]
7+
issue_comment:
8+
types: [created, edited, deleted]
9+
discussion:
10+
types: [created, edited]
11+
discussion_comment:
12+
types: [created, edited, deleted]
13+
14+
permissions:
15+
issues: write
16+
pull-requests: write
17+
discussions: write
18+
19+
jobs:
20+
accessibility_alt_text_bot:
21+
name: Check alt text is set on issue or pull requests
22+
if: ${{ !endsWith(github.actor, '[bot]') }}
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Get action 'github/accessibility-alt-text-bot'
26+
uses: github/accessibility-alt-text-bot@v1.7.1 # Set to latest

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lockfile-version = 3
2+
registry = 'https://registry.npmjs.org/'

0 commit comments

Comments
 (0)