Skip to content

Commit 5fda2f7

Browse files
authored
Merge branch 'main' into yash/ref-constructor-params
2 parents 037c98d + e2754df commit 5fda2f7

File tree

1,193 files changed

+22681
-41102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,193 files changed

+22681
-41102
lines changed

.changeset/clever-carrots-march.md

Lines changed: 5 additions & 0 deletions

.changeset/dirty-cups-tickle.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/flat-emus-repeat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/green-bottles-approve.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/pink-ducks-flash.md

Lines changed: 5 additions & 0 deletions
Lines changed: 30 additions & 0 deletions

.changeset/small-eagles-cry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ playground:
88
packages:
99
- changed-files:
1010
- any-glob-to-any-file: "packages/**/*"
11+
sdk:
12+
- changed-files:
13+
- any-glob-to-any-file: "packages/thirdweb/**/*"
1114
portal:
1215
- changed-files:
1316
- any-glob-to-any-file: "apps/portal/**/*"
17+
"Ecosystem Portal":
18+
- changed-files:
19+
- any-glob-to-any-file: "apps/wallet-ui/**/*"

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ jobs:
8787

8888
- run: pnpm test
8989

90-
- name: Upload coverage reports to Codecov
91-
uses: codecov/codecov-action@v4
90+
- name: Code Coverage
91+
uses: codecov/codecov-action@v5
9292
with:
9393
directory: packages/
9494
flags: packages

.github/workflows/issue.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Linked Issue
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited]
6+
7+
env:
8+
VALID_ISSUE_PREFIXES: "CNCT|DASH"
9+
10+
jobs:
11+
linear:
12+
name: Linear
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check for linked issue
16+
uses: actions/github-script@v7
17+
with:
18+
script: |
19+
const pr = await github.rest.pulls.get({
20+
owner: context.repo.owner,
21+
repo: context.repo.repo,
22+
pull_number: context.issue.number
23+
});
24+
25+
const body = pr.data.body || '';
26+
const branchName = pr.data.head.ref;
27+
const issueRegex = new RegExp(`(${process.env.VALID_ISSUE_PREFIXES})-\\d+`, 'i');
28+
const branchIssueRegex = new RegExp(`(${process.env.VALID_ISSUE_PREFIXES.toLowerCase()})-\\d+`, 'i');
29+
30+
if (!issueRegex.test(body) && !branchIssueRegex.test(branchName)) {
31+
core.setFailed(
32+
`No valid issue reference found. PR body or branch name must contain an issue ID with one of these prefixes: ${process.env.VALID_ISSUE_PREFIXES}`
33+
);
34+
return;
35+
}
36+
37+
const matches = body.match(issueRegex) || branchName.match(branchIssueRegex);
38+
console.log(`Found issue reference: ${matches[0]}`);

0 commit comments

Comments
 (0)