File tree Expand file tree Collapse file tree 25 files changed +132
-198
lines changed
packages/flutter/example/ios Expand file tree Collapse file tree 25 files changed +132
-198
lines changed Original file line number Diff line number Diff line change 1515 default : 100
1616
1717jobs :
18- cancel-previous-workflow :
19- runs-on : ubuntu-latest
20- steps :
21- - name : Cancel Previous Runs
22- uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # pin@0.12.1
23- with :
24- access_token : ${{ github.token }}
25-
2618 analyze :
2719 if : ${{ !startsWith(github.ref, 'refs/heads/release/') }}
2820 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Changes In High Risk Code
22on :
33 pull_request :
44
5- # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
65concurrency :
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({
Original file line number Diff line number Diff line change 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 # pin@0.12.1
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
Original file line number Diff line number Diff line change 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 # pin@0.12.1
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
Original file line number Diff line number Diff line change 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 # pin@0.12.1
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
Original file line number Diff line number Diff line change 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
1620env :
1721 SENTRY_AUTH_TOKEN_E2E : ${{ secrets.SENTRY_AUTH_TOKEN_E2E }}
1822 SENTRY_DIST : 1
1923
2024jobs :
21- cancel-previous-workflow :
22- runs-on : ubuntu-latest
23- steps :
24- - name : Cancel Previous Runs
25- uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # pin@0.12.1
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 :
Original file line number Diff line number Diff line change 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 # pin@0.12.1
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
Original file line number Diff line number Diff line change 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
2019concurrency :
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
Original file line number Diff line number Diff line change 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 # pin@0.12.1
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 :
Original file line number Diff line number Diff line change 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+
1519env :
1620 SENTRY_AUTH_TOKEN_E2E : ${{ secrets.SENTRY_AUTH_TOKEN_E2E }}
1721
1822jobs :
19- cancel-previous-workflow :
20- runs-on : ubuntu-latest
21- steps :
22- - name : Cancel Previous Runs
23- uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # pin@0.12.1
24- with :
25- access_token : ${{ github.token }}
26-
2723 test-android :
2824 runs-on : ubuntu-latest
2925 timeout-minutes : 30
4440 sudo udevadm control --reload-rules
4541 sudo udevadm trigger --name-match=kvm
4642
47- - uses : actions/setup-java@v4
43+ - uses : actions/setup-java@v5
4844 with :
4945 distribution : ' adopt'
5046 java-version : ' 17'
@@ -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
You can’t perform that action at this time.
0 commit comments