Skip to content
4 changes: 0 additions & 4 deletions .github/workflows/integration-codeowner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
uses: actions/github-script@v9.0.0
with:
script: |
const core = require('@actions/core');

const pr = context.payload.pull_request;
const files = await github.paginate(github.rest.pulls.listFiles, {
owner: context.repo.owner,
Expand Down Expand Up @@ -101,8 +99,6 @@ jobs:
uses: actions/github-script@v9.0.0
with:
script: |
const core = require('@actions/core');

const comment = context.payload.comment;
const command = comment.body.trim();
const accepted = command === '/codeowner-accept';
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/readme-integrations-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: README Integrations Check

on:
pull_request:
paths:
- README.md
- src/**/CommunityToolkit.Aspire*.csproj
- src/CommunityToolkit.Aspire*/README.md
- eng/scripts/generate-readme-integrations.cs
- .github/workflows/readme-integrations-check.yml

jobs:
validate-readme-integrations:
name: Validate integrations table
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Verify README integrations table is up to date
run: dotnet run eng/scripts/generate-readme-integrations.cs -- --check
Comment on lines +19 to +24
Comment on lines +23 to +24
Loading
Loading