Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/AssignPrs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ permissions:

jobs:
run:
if: github.repository_owner == 'PowerShell'
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
78 changes: 0 additions & 78 deletions .github/workflows/backport.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/createReminders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ permissions:

jobs:
reminder:
if: github.repository_owner == 'PowerShell'

permissions:
issues: write # for agrc/create-reminder-action to set reminders on issues
pull-requests: write # for agrc/create-reminder-action to set reminders on PRs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

jobs:
verify-labels:
if: github.repository_owner == 'PowerShell'
if: startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
runs-on: ubuntu-latest

steps:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ env:
system_debug: 'false'
jobs:
changes:
if: startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
name: Change Detection
runs-on: ubuntu-latest
# Required permissions
Expand All @@ -50,7 +51,7 @@ jobs:
uses: actions/[email protected]

# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.2.0
id: filter
with:
list-files: json
Expand Down Expand Up @@ -232,7 +233,7 @@ jobs:
- linux_test_unelevated_others
- analyze
if: always()
uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@master
uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0
with:
needs_context: ${{ toJson(needs) }}
# TODO: Enable this when we have a Linux packaging workflow
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
changes:
name: Change Detection
runs-on: ubuntu-latest
if: startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
# Required permissions
permissions:
pull-requests: read
Expand All @@ -49,7 +50,7 @@ jobs:
uses: actions/[email protected]

# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.2.0
id: filter
with:
list-files: json
Expand Down Expand Up @@ -186,6 +187,6 @@ jobs:
- macos_test_unelevated_ci
- macos_test_unelevated_others
if: always()
uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@master
uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0
with:
needs_context: ${{ toJson(needs) }}
2 changes: 2 additions & 0 deletions .github/workflows/markdownLink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ permissions:
jobs:
markdown-link-check:
runs-on: ubuntu-latest
if: github.repository_owner == 'PowerShell'

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/processReminders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
reminder:
if: github.repository_owner == 'PowerShell'
permissions:
issues: write # for agrc/reminder-action to set reminders on issues
pull-requests: write # for agrc/reminder-action to set reminders on PRs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
if: github.repository_owner == 'PowerShell'
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
changes:
name: Change Detection
runs-on: ubuntu-latest
if: startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'
# Required permissions
permissions:
pull-requests: read
Expand All @@ -50,7 +51,7 @@ jobs:
uses: actions/[email protected]

# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.2.0
id: filter
with:
list-files: json
Expand Down Expand Up @@ -170,6 +171,6 @@ jobs:
- windows_test_unelevated_ci
- windows_test_unelevated_others
if: always()
uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@master
uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0
with:
needs_context: ${{ toJson(needs) }}
Loading