Skip to content

Commit a896913

Browse files
authored
normalize the workflow files (#857)
1 parent 2458e1a commit a896913

13 files changed

+13
-28
lines changed

.github/workflows/args.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/args/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/async.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: package:async
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/async/

.github/workflows/characters.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/characters/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/collection.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -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/collection/

.github/workflows/convert.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/convert/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/crypto.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/crypto/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/fixnum.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/fixnum/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/lints.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/lints/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/logging.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/logging/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/os_detect.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/os_detect/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/path.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/path/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/platform.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/platform/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

.github/workflows/typed_data.yaml

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

34
on:
45
# Run CI on pushes to the main branch, and on PRs against main.
@@ -14,8 +15,6 @@ on:
1415
- 'pkgs/typed_data/**'
1516
schedule:
1617
- cron: "0 0 * * 0"
17-
env:
18-
PUB_ENVIRONMENT: bot.github
1918

2019
defaults:
2120
run:

0 commit comments

Comments
 (0)