Skip to content

Commit b97ca35

Browse files
committed
Merge branch 'main' into feat/stuctured-logs-debug-log
2 parents 25502a9 + 192b44c commit b97ca35

20 files changed

+120
-186
lines changed

.github/workflows/analyze.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ on:
1515
default: 100
1616

1717
jobs:
18-
cancel-previous-workflow:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Cancel Previous Runs
22-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
23-
with:
24-
access_token: ${{ github.token }}
25-
2618
analyze:
2719
if: ${{ !startsWith(github.ref, 'refs/heads/release/') }}
2820
runs-on: ubuntu-latest

.github/workflows/changes-in-high-risk-code.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Changes In High Risk Code
22
on:
33
pull_request:
44

5-
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
65
concurrency:
76
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
87
cancel-in-progress: true
@@ -41,19 +40,19 @@ jobs:
4140
script: |
4241
const highRiskFiles = process.env.high_risk_code;
4342
const fileList = highRiskFiles.split(',').map(file => `- [ ] ${file}`).join('\n');
44-
43+
4544
// Get existing comments
4645
const comments = await github.rest.issues.listComments({
4746
issue_number: context.issue.number,
4847
owner: context.repo.owner,
4948
repo: context.repo.repo
5049
});
51-
50+
5251
// Check if we already have a high risk code comment
5352
const hasExistingComment = comments.data.some(comment =>
5453
comment.body.includes('🚨 Detected changes in high risk code 🚨')
5554
);
56-
55+
5756
// Only create comment if we don't already have one
5857
if (!hasExistingComment) {
5958
await github.rest.issues.createComment({

.github/workflows/dart.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@ on:
1414
- '.github/actions/coverage/**'
1515
- 'packages/dart/**'
1616

17-
jobs:
18-
cancel-previous-workflow:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Cancel Previous Runs
22-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
23-
with:
24-
access_token: ${{ github.token }}
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19+
cancel-in-progress: true
2520

21+
jobs:
2622
build:
2723
name: '${{ matrix.os }} | ${{ matrix.sdk }}'
2824
runs-on: ${{ matrix.os }}-latest

.github/workflows/dio.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ on:
1515
- 'packages/dart/**'
1616
- 'packages/dio/**'
1717

18-
jobs:
19-
cancel-previous-workflow:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Cancel Previous Runs
23-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
24-
with:
25-
access_token: ${{ github.token }}
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20+
cancel-in-progress: true
2621

22+
jobs:
2723
build:
2824
name: '${{ matrix.os }} | ${{ matrix.sdk }}'
2925
runs-on: ${{ matrix.os }}-latest

.github/workflows/drift.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ on:
1515
- 'packages/dart/**'
1616
- 'packages/drift/**'
1717

18-
jobs:
19-
cancel-previous-workflow:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Cancel Previous Runs
23-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
24-
with:
25-
access_token: ${{ github.token }}
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20+
cancel-in-progress: true
2621

22+
jobs:
2723
build:
2824
name: '${{ matrix.os }} | ${{ matrix.sdk }}'
2925
runs-on: ${{ matrix.os }}-latest

.github/workflows/e2e_dart.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,25 @@ on:
66
- release/**
77
pull_request:
88
paths:
9-
- "!**/*.md"
10-
- "!**/class-diagram.svg"
11-
- ".github/workflows/e2e_dart.yml"
12-
- ".github/workflows/analyze.yml"
13-
- "packages/dart/**"
14-
- "e2e_test/**"
9+
- '!**/*.md'
10+
- '!**/class-diagram.svg'
11+
- '.github/workflows/e2e_dart.yml'
12+
- '.github/workflows/analyze.yml'
13+
- 'packages/dart/**'
14+
- 'e2e_test/**'
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18+
cancel-in-progress: true
1519

1620
env:
1721
SENTRY_AUTH_TOKEN_E2E: ${{ secrets.SENTRY_AUTH_TOKEN_E2E }}
1822
SENTRY_DIST: 1
1923

2024
jobs:
21-
cancel-previous-workflow:
22-
runs-on: ubuntu-latest
23-
steps:
24-
- name: Cancel Previous Runs
25-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
26-
with:
27-
access_token: ${{ github.token }}
28-
2925
build:
3026
name: E2E
31-
runs-on: "ubuntu-latest"
27+
runs-on: 'ubuntu-latest'
3228
timeout-minutes: 30
3329
defaults:
3430
run:

.github/workflows/file.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ on:
1515
- 'packages/dart/**'
1616
- 'packages/file/**'
1717

18-
jobs:
19-
cancel-previous-workflow:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Cancel Previous Runs
23-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
24-
with:
25-
access_token: ${{ github.token }}
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20+
cancel-in-progress: true
2621

22+
jobs:
2723
build:
2824
name: '${{ matrix.os }} | ${{ matrix.sdk }}'
2925
runs-on: ${{ matrix.os }}-latest

.github/workflows/firebase_remote_config.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ on:
1616
- 'packages/flutter/**'
1717
- 'packages/firebase_remote_config/**'
1818

19-
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
2019
concurrency:
2120
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2221
cancel-in-progress: true
@@ -40,14 +39,14 @@ jobs:
4039
directory: packages/firebase_remote_config
4140
web: false
4241

43-
# TODO: don't set coverage for now to finish publishing it
44-
# - uses: ./.github/actions/coverage
45-
# if: runner.os == 'Linux' && matrix.sdk == 'stable'
46-
# with:
47-
# token: ${{ secrets.CODECOV_TOKEN }}
48-
# directory: firebase_remote_config
49-
# coverage: sentry_firebase_remote_config
50-
# min-coverage: 55
42+
# TODO: don't set coverage for now to finish publishing it
43+
# - uses: ./.github/actions/coverage
44+
# if: runner.os == 'Linux' && matrix.sdk == 'stable'
45+
# with:
46+
# token: ${{ secrets.CODECOV_TOKEN }}
47+
# directory: firebase_remote_config
48+
# coverage: sentry_firebase_remote_config
49+
# min-coverage: 55
5150

5251
analyze:
5352
uses: ./.github/workflows/analyze.yml

.github/workflows/flutter.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@ on:
1616
- 'packages/flutter/**'
1717
- 'metrics/flutter.properties'
1818

19-
jobs:
20-
cancel-previous-workflow:
21-
runs-on: ubuntu-latest
22-
steps:
23-
- name: Cancel Previous Runs
24-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
25-
with:
26-
access_token: ${{ github.token }}
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
21+
cancel-in-progress: true
2722

23+
jobs:
2824
build:
2925
name: '${{ matrix.target }} | ${{ matrix.os }} | ${{ matrix.sdk }}'
3026
runs-on: ${{ matrix.os == 'macos' && 'macos-15' || matrix.os == 'ubuntu' && 'ubuntu-latest' || matrix.os == 'windows' && 'windows-latest' }}
@@ -109,7 +105,7 @@ jobs:
109105
esac
110106
111107
spm:
112-
name: "SPM"
108+
name: 'SPM'
113109
runs-on: macos-15
114110
timeout-minutes: 30
115111
defaults:

.github/workflows/flutter_test.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,14 @@ on:
1212
- 'packages/dart/**'
1313
- 'packages/flutter/**'
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
env:
1620
SENTRY_AUTH_TOKEN_E2E: ${{ secrets.SENTRY_AUTH_TOKEN_E2E }}
1721

1822
jobs:
19-
cancel-previous-workflow:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Cancel Previous Runs
23-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected]
24-
with:
25-
access_token: ${{ github.token }}
26-
2723
test-android:
2824
runs-on: ubuntu-latest
2925
timeout-minutes: 30
@@ -174,7 +170,7 @@ jobs:
174170
strategy:
175171
fail-fast: false
176172
matrix:
177-
sdk: [ "stable", "beta" ]
173+
sdk: ['stable', 'beta']
178174
steps:
179175
- name: checkout
180176
uses: actions/checkout@v5

0 commit comments

Comments
 (0)