Skip to content

Commit 1de78fb

Browse files
authored
chore(ci): Add concurrency control to CI workflow (#2644)
1 parent 603ea56 commit 1de78fb

File tree

4 files changed

+59
-28
lines changed

4 files changed

+59
-28
lines changed

.github/CODEOWNERS

Lines changed: 45 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,48 @@
22

33
# Platform team owns everything by default
44

5-
* @thirdweb-dev/platform
6-
7-
# Devrel owns all markdown files (README etc.)
8-
9-
*.md @thirdweb-dev/devrel
10-
.changeset/
11-
12-
# Shared ownership of the react and react-core packages
13-
14-
packages/react/ @thirdweb-dev/product @thirdweb-dev/platform
15-
packages/react-core/ @thirdweb-dev/product @thirdweb-dev/platform
16-
17-
# Shared ownership of the CLI
18-
19-
packages/cli/ @thirdweb-dev/product @thirdweb-dev/platform
20-
21-
# Chains is owned specifically by jonas for now
22-
23-
packages/chains/ @jnsdls
24-
25-
# .github folder + .changeset + turbo config is owned by joaquim and jonas for now
26-
27-
.github/ @jnsdls @joaquim-verges
28-
.changeset/config.json @jnsdls @joaquim-verges
29-
turbo.json @joaquim-verges @jnsdls
5+
* @jnsdls @joaquim @MananTank
6+
7+
# legacy packages
8+
legacy_packages/auth/ @jnsdls
9+
legacy_packages/chains/ @jnsdls
10+
legacy_packages/cli/ @jnsdls
11+
legacy_packages/contracts-js/ @jnsdls
12+
legacy_packages/crypto/ @jnsdls
13+
legacy_packages/generated-abis/ @jnsdls
14+
legacy_packages/merkletree/ @jnsdls
15+
legacy_packages/pay/ @jnsdls
16+
legacy_packages/payments/ @jnsdls
17+
legacy_packages/react/ @MananTank @jnsdls
18+
legacy_packages/react-core/ @MananTank @jnsdls
19+
legacy_packages/react-native/ @jnsdls
20+
legacy_packages/react-native-compat/ @jnsdls
21+
legacy_packages/sdk/ @joaquim @jnsdls
22+
legacy_packages/storage/ @jnsdls
23+
legacy_packages/wallets/ @MananTank @jnsdls
24+
25+
26+
# legacy e2e
27+
legacy_e2e/ @jnsdls
28+
29+
# packages
30+
31+
## specific thirdweb pieces
32+
packages/thirdweb/src/react/ @MananTank
33+
packages/thirdweb/src/reactive/ @MananTank
34+
packages/thirdweb/src/gas/ @joaquim
35+
packages/thirdweb/src/pay/ @MananTank @IDubuque
36+
37+
packages/typedoc-gen/ @MananTank
38+
# owned by phil for now
39+
packages/service-utils/ @arcoraven
40+
packages/eslint-config-thirdweb/ @jnsdls
41+
packages/tw-tsconfig/ @jnsdls
42+
packages/unity-js-bridge/ @joaquim @0xFirekeeper
43+
44+
45+
# .github folder + .changeset + turbo config is owned by jonas for now
46+
scripts/ @jnsdls
47+
.github/ @jnsdls
48+
.changeset/config.json @jnsdls
49+
turbo.json @jnsdls

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "weekly"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
# Check for updates to GitHub Actions every week
16+
interval: "weekly"

.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
# TODO actually run e2e tests
7474

7575
benchmark:
76+
# cannot run benchmarks on merge group
77+
if: github.event_name != 'merge_group'
7678
timeout-minutes: 15
7779
name: "Benchmarks"
7880
runs-on: ubuntu-latest-16

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
schedule:
2121
- cron: "37 9 * * 3"
2222

23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
2327
jobs:
2428
analyze:
2529
name: Analyze
@@ -42,7 +46,7 @@ jobs:
4246

4347
# Initializes the CodeQL tools for scanning.
4448
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
49+
uses: github/codeql-action/init@v3
4650
with:
4751
languages: ${{ matrix.language }}
4852
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +59,7 @@ jobs:
5559
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5660
# If this step fails, then you should remove it and run the build manually (see below)
5761
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v2
62+
uses: github/codeql-action/autobuild@v3
5963

6064
# ℹ️ Command-line programs to run using the OS shell.
6165
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -68,4 +72,4 @@ jobs:
6872
# ./location_of_script_within_repo/buildscript.sh
6973

7074
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v2
75+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)