Skip to content

Commit 23b7ab0

Browse files
Remove the extra environments (#14)
It turns out I misunderstood the GitHub CI-approval model and these environments are not necessary to prevent third parties from triggering our CI.
1 parent e28aa91 commit 23b7ab0

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ updates:
88
all-dependencies:
99
patterns:
1010
- '*'
11+
# Ignore dependency patches
12+
ignore:
13+
- dependency-name: "*"
14+
update-types: ["version-update:semver-patch"]

.github/workflows/all-tests.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 30
1616

17-
environment:
18-
name: ${{ github.ref_name != 'main' && 'testing' || 'unrestricted' }}
19-
2017
steps:
2118
- uses: actions/checkout@v4
2219
with:
@@ -66,9 +63,6 @@ jobs:
6663
runs-on: ubuntu-latest
6764
timeout-minutes: 30
6865

69-
environment:
70-
name: ${{ github.ref_name != 'main' && 'testing' || 'unrestricted' }}
71-
7266
steps:
7367
- uses: actions/checkout@v4
7468

@@ -90,9 +84,6 @@ jobs:
9084
runs-on: ubuntu-latest
9185
timeout-minutes: 30
9286

93-
environment:
94-
name: ${{ github.ref_name != 'main' && 'testing' || 'unrestricted' }}
95-
9687
steps:
9788
- uses: actions/checkout@v4
9889

@@ -122,9 +113,6 @@ jobs:
122113
runs-on: ${{ format('{0}-latest', matrix.os) }}
123114
timeout-minutes: 30
124115

125-
environment:
126-
name: ${{ github.ref_name != 'main' && 'testing' || 'unrestricted' }}
127-
128116
steps:
129117
- uses: actions/checkout@v4
130118
with:

.github/workflows/clippy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818

1919
runs-on: ubuntu-latest
2020

21-
environment:
22-
name: ${{ github.ref_name != 'main' && 'testing' || 'unrestricted' }}
23-
2421
steps:
2522
- uses: actions/checkout@v4
2623

0 commit comments

Comments
 (0)