From d32a25011a40e1f8ab92ea2c43719c9a23187663 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Tue, 24 Sep 2024 18:51:47 -0700 Subject: [PATCH 1/3] Don't assign myself on Dependabot PRs --- .github/dependabot.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d97f0f33..0df71015 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,17 +7,11 @@ updates: allow: - dependency-name: mithril dependency-type: production - assignees: - - dead-claudia - package-ecosystem: npm directory: / schedule: interval: weekly - assignees: - - dead-claudia - package-ecosystem: github-actions directory: / schedule: interval: weekly - assignees: - - dead-claudia From 4287f1baeec10d4d0bb1348fe42e2ddf202c13df Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Tue, 24 Sep 2024 18:52:46 -0700 Subject: [PATCH 2/3] Update triage workflow --- .github/workflows/issue-create.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/issue-create.yml b/.github/workflows/issue-create.yml index 0ddb7d30..deee13ea 100644 --- a/.github/workflows/issue-create.yml +++ b/.github/workflows/issue-create.yml @@ -4,9 +4,7 @@ on: types: [opened] pull_request: types: [opened] -permissions: - issues: write - repository-projects: write jobs: reject: uses: MithrilJS/infra/.github/workflows/notify-triage.yml@main + secrets: inherit From f6cc4e98cb151c7198109ddb0f4a4b218f79c26c Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Tue, 24 Sep 2024 18:53:02 -0700 Subject: [PATCH 3/3] Migrate to unified test workflow --- .github/workflows/test.yml | 18 +++++------------- package.json | 3 ++- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6237c196..69fb6329 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: test on: - pull_request: + pull_request_target: branches: [main] push: branches: [main] @@ -11,17 +11,9 @@ on: permissions: contents: read -# This uses actions/checkout instead of `git clone` directly since it's way -# easier than parsing everything out. - jobs: test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm ci - - run: npm run lint - - run: npm run build + uses: MithrilJS/infra/.github/workflows/run-tests.yml@main + with: + all-platforms: true + all-versions: true diff --git a/package.json b/package.json index b8b42912..815f2568 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "watch": "node scripts/watch.js", "build": "node scripts/build.js", "lint": "node scripts/lint.js", - "lint:docs": "node scripts/lint-docs.js" + "lint:docs": "node scripts/lint-docs.js", + "test": "" }, "dependencies": { "mithril": "2.2.2"