diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a0a68b82f..6b4c90162 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,4 +1,3 @@ # About CODEOWNERS - https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners * @coliff -* @thedaviddias diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index b7d8fc4df..a2c8fbd26 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -10,7 +10,7 @@ - Core code is in TypeScript v5.4.5. - All new rules for HTMLHint should be placed in the rules directory. - Tests for new rules should be added in rules and follow the naming pattern `.spec.js`. -- Do not use deprecated Node.js or TypeScript features. +- Do not use deprecated TypeScript features. - All user-facing messages and documentation should use clear, concise US English. - Keep dependencies up to date and avoid unnecessary packages. - All website content should be placed in the website directory and follow Astro Starlight conventions. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 50c8537d3..92e85ad04 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,6 +13,7 @@ updates: update-types: - 'minor' - 'patch' + - package-ecosystem: npm directory: '/website' schedule: @@ -26,7 +27,13 @@ updates: update-types: - 'minor' - 'patch' + - package-ecosystem: github-actions directory: '/' schedule: interval: monthly + open-pull-requests-limit: 1 + groups: + github-actions: + patterns: + - '*' diff --git a/.github/workflows/accessibility-alt-text-bot.yml b/.github/workflows/accessibility-alt-text-bot.yml new file mode 100644 index 000000000..f208afa8d --- /dev/null +++ b/.github/workflows/accessibility-alt-text-bot.yml @@ -0,0 +1,26 @@ +name: Accessibility-alt-text-bot +on: + issues: + types: [opened, edited] + pull_request: + types: [opened, edited] + issue_comment: + types: [created, edited, deleted] + discussion: + types: [created, edited] + discussion_comment: + types: [created, edited, deleted] + +permissions: + issues: write + pull-requests: write + discussions: write + +jobs: + accessibility_alt_text_bot: + name: Check alt text is set on issue or pull requests + if: ${{ !endsWith(github.actor, '[bot]') }} + runs-on: ubuntu-latest + steps: + - name: Get action 'github/accessibility-alt-text-bot' + uses: github/accessibility-alt-text-bot@v1.7.1 # Set to latest diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..11acd25b9 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +lockfile-version = 3 +registry = 'https://registry.npmjs.org/'