Skip to content

Commit 750b4ad

Browse files
authored
normalize the workflow files (#2013)
1 parent 1e94649 commit 750b4ad

Some content is hidden

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

45 files changed

+68
-154
lines changed

.github/workflows/bazel_worker.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:bazel_worker
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,10 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
21-
2219
defaults:
2320
run:
2421
working-directory: pkgs/bazel_worker/

.github/workflows/benchmark_harness.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:benchmark_harness
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,9 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
2119
defaults:
2220
run:
2321
working-directory: pkgs/benchmark_harness/

.github/workflows/boolean_selector.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:boolean_selector
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,10 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
21-
2219
defaults:
2320
run:
2421
working-directory: pkgs/boolean_selector/

.github/workflows/browser_launcher.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:browser_launcher
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -16,7 +17,6 @@ on:
1617
- cron: "0 0 * * 0"
1718

1819
env:
19-
PUB_ENVIRONMENT: bot.github
2020
DISPLAY: ':99'
2121

2222
defaults:

.github/workflows/cli_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
sdk: [stable, dev] # {pkgs.versions}
26+
sdk: [stable, dev]
2727
include:
2828
- sdk: stable
2929
run-tests: true
@@ -61,7 +61,7 @@ jobs:
6161
runs-on: windows-latest
6262
strategy:
6363
matrix:
64-
sdk: [stable, dev] # {pkgs.versions}
64+
sdk: [stable, dev]
6565
include:
6666
- sdk: stable
6767
run-tests: true

.github/workflows/cli_util.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:cli_util
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,10 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
21-
2219
defaults:
2320
run:
2421
working-directory: pkgs/cli_util/

.github/workflows/clock.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:clock
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,10 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
21-
2219
defaults:
2320
run:
2421
working-directory: pkgs/clock/

.github/workflows/code_builder.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:code_builder
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,10 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
21-
2219
defaults:
2320
run:
2421
working-directory: pkgs/code_builder/

.github/workflows/coverage.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:coverage
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,9 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
2119
jobs:
2220
# Check code formatting and static analysis on a single OS (linux)
2321
# against Dart dev.

.github/workflows/csslib.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:csslib
2+
permissions: read-all
23

34
on:
45
# Run on PRs and pushes to the default branch.
@@ -15,10 +16,6 @@ on:
1516
schedule:
1617
- cron: "0 0 * * 0"
1718

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20-
21-
2219
defaults:
2320
run:
2421
working-directory: pkgs/csslib/

0 commit comments

Comments
 (0)