File tree Expand file tree Collapse file tree 10 files changed +17
-85
lines changed Expand file tree Collapse file tree 10 files changed +17
-85
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ permissions:
7
7
8
8
jobs :
9
9
run :
10
+ if : github.repository_owner == 'PowerShell'
10
11
runs-on : ubuntu-latest
11
12
permissions :
12
13
issues : write
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ permissions:
9
9
10
10
jobs :
11
11
reminder :
12
+ if : github.repository_owner == 'PowerShell'
13
+
12
14
permissions :
13
15
issues : write # for agrc/create-reminder-action to set reminders on issues
14
16
pull-requests : write # for agrc/create-reminder-action to set reminders on PRs
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ permissions:
13
13
14
14
jobs :
15
15
verify-labels :
16
- if : github.repository_owner == 'PowerShell'
16
+ if : startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
17
17
runs-on : ubuntu-latest
18
18
19
19
steps :
Original file line number Diff line number Diff line change 37
37
system_debug : ' false'
38
38
jobs :
39
39
changes :
40
+ if : startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
40
41
name : Change Detection
41
42
runs-on : ubuntu-latest
42
43
# Required permissions
50
51
uses : actions/checkout@v4.1.0
51
52
52
53
# For pull requests it's not necessary to checkout the code
53
- - uses : dorny/paths-filter@v3
54
+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.2.0
54
55
id : filter
55
56
with :
56
57
list-files : json
@@ -232,7 +233,7 @@ jobs:
232
233
- linux_test_unelevated_others
233
234
- analyze
234
235
if : always()
235
- uses : PowerShell/compliance/.github/workflows/ready-to-merge.yml@master
236
+ uses : PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0
236
237
with :
237
238
needs_context : ${{ toJson(needs) }}
238
239
# TODO: Enable this when we have a Linux packaging workflow
Original file line number Diff line number Diff line change 38
38
changes :
39
39
name : Change Detection
40
40
runs-on : ubuntu-latest
41
+ if : startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
41
42
# Required permissions
42
43
permissions :
43
44
pull-requests : read
49
50
uses : actions/checkout@v4.1.0
50
51
51
52
# For pull requests it's not necessary to checkout the code
52
- - uses : dorny/paths-filter@v3
53
+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.2.0
53
54
id : filter
54
55
with :
55
56
list-files : json
@@ -186,6 +187,6 @@ jobs:
186
187
- macos_test_unelevated_ci
187
188
- macos_test_unelevated_others
188
189
if : always()
189
- uses : PowerShell/compliance/.github/workflows/ready-to-merge.yml@master
190
+ uses : PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0
190
191
with :
191
192
needs_context : ${{ toJson(needs) }}
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ permissions:
10
10
jobs :
11
11
markdown-link-check :
12
12
runs-on : ubuntu-latest
13
+ if : github.repository_owner == 'PowerShell'
14
+
13
15
steps :
14
16
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
17
- uses : gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ permissions:
10
10
11
11
jobs :
12
12
reminder :
13
+ if : github.repository_owner == 'PowerShell'
13
14
permissions :
14
15
issues : write # for agrc/reminder-action to set reminders on issues
15
16
pull-requests : write # for agrc/reminder-action to set reminders on PRs
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ permissions: read-all
20
20
jobs :
21
21
analysis :
22
22
name : Scorecard analysis
23
+ if : github.repository_owner == 'PowerShell'
23
24
runs-on : ubuntu-latest
24
25
permissions :
25
26
# Needed to upload the results to code-scanning dashboard.
Original file line number Diff line number Diff line change 39
39
changes :
40
40
name : Change Detection
41
41
runs-on : ubuntu-latest
42
+ if : startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
42
43
# Required permissions
43
44
permissions :
44
45
pull-requests : read
50
51
uses : actions/checkout@v4.1.0
51
52
52
53
# For pull requests it's not necessary to checkout the code
53
- - uses : dorny/paths-filter@v3
54
+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.2.0
54
55
id : filter
55
56
with :
56
57
list-files : json
@@ -170,6 +171,6 @@ jobs:
170
171
- windows_test_unelevated_ci
171
172
- windows_test_unelevated_others
172
173
if : always()
173
- uses : PowerShell/compliance/.github/workflows/ready-to-merge.yml@master
174
+ uses : PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0
174
175
with :
175
176
needs_context : ${{ toJson(needs) }}
You can’t perform that action at this time.
0 commit comments