mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
[release/v7.4] Github Workflow cleanup (#26334)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
This commit is contained in:
co-authored by
Travis Plunk
parent
fa7640b515
commit
495995f967
@@ -1,30 +0,0 @@
|
||||
name: Auto Assign PR Maintainer
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
run:
|
||||
if: github.repository_owner == 'PowerShell'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: wow-actions/auto-assign@67fafa03df61d7e5f201734a2fa60d1ab111880d # v3.0.2
|
||||
if: github.event.issue.pull_request
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# using the `org/team_slug` or `/team_slug` syntax to add git team as reviewers
|
||||
assignees: |
|
||||
TravisEz13
|
||||
daxian-dbw
|
||||
adityapatwardhan
|
||||
iSazonov
|
||||
SeeminglyScience
|
||||
skipDraft: true
|
||||
skipKeywords: wip, draft
|
||||
addReviewers: false
|
||||
numberOfAssignees: 1
|
||||
+3
-1
@@ -1 +1,3 @@
|
||||
bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh)
|
||||
# Pin to specific commit for security (OpenSSF Scorecard requirement)
|
||||
# Pinned commit: 26bb188c8 - "Improve ValidateLength error message consistency and refactor validation tests" (2025-10-12)
|
||||
bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/26bb188c8be0cda6cb548ce1a12840ebf67e1331/tools/install-powershell.sh)
|
||||
|
||||
@@ -26,7 +26,9 @@ install(){
|
||||
#gitrepo paths are overrideable to run from your own fork or branch for testing or private distribution
|
||||
|
||||
local VERSION="1.2.0"
|
||||
local gitreposubpath="PowerShell/PowerShell/master"
|
||||
# Pin to specific commit for security (OpenSSF Scorecard requirement)
|
||||
# Pinned commit: 26bb188c8 - "Improve ValidateLength error message consistency and refactor validation tests" (2025-10-12)
|
||||
local gitreposubpath="PowerShell/PowerShell/26bb188c8be0cda6cb548ce1a12840ebf67e1331"
|
||||
local gitreposcriptroot="https://raw.githubusercontent.com/$gitreposubpath/tools"
|
||||
local gitscriptname="install-powershell.psh"
|
||||
|
||||
@@ -121,7 +123,7 @@ install(){
|
||||
if [[ $osname = *SUSE* ]]; then
|
||||
DistroBasedOn='suse'
|
||||
REV=$(source /etc/os-release; echo $VERSION_ID)
|
||||
fi
|
||||
fi
|
||||
OS=$(lowercase $OS)
|
||||
DistroBasedOn=$(lowercase $DistroBasedOn)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user