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
2 changes: 1 addition & 1 deletion .github/workflows/buildandrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 #Ensure we are getting all the tag history

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/docsUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:

- name: Checkout docs branch
if: steps.get_release.outputs.skip != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: docs
path: docs-branch
Expand Down Expand Up @@ -294,7 +294,10 @@ jobs:
git add .
git commit -m "docs: update documentation for $tagName"

# Reconfigure remote with PAT — the PAT is scoped to this step only
# actions/checkout registers GITHUB_TOKEN as an HTTP extraheader which takes
# priority over credentials embedded in the remote URL. Unset it first so the
# PAT in the remote URL is actually used for the push.
git config --local --unset-all http.https://github.com/.extraheader
$repoUrl = "https://x-access-token:$($env:DOCS_PAT)@github.com/$env:GITHUB_REPOSITORY.git"
git remote set-url origin $repoUrl
git push origin $branchName
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pesterTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
shell: pwsh
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
if($pesterFailed){throw 'Error with Pester invocation'}

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3
if: always() && github.event_name == 'pull_request'
with:
recreate: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psgalleryRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psgalleryRelease_NoModuleForge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scriptAnalyzerLintReport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
shell: pwsh
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
}

- name: Add PSInvoke PR Comment
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3
if: always() && github.event_name == 'pull_request'
with:
recreate: true
Expand Down
2 changes: 1 addition & 1 deletion source/resource/github/workflows/buildandrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 #Ensure we are getting all the tag history

Expand Down
9 changes: 6 additions & 3 deletions source/resource/github/workflows/docsUpdate.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:

- name: Checkout docs branch
if: steps.get_release.outputs.skip != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: docs
path: docs-branch
Expand Down Expand Up @@ -243,7 +243,10 @@ jobs:
git add .
git commit -m "docs: update documentation for $tagName"

# Reconfigure remote with PAT — the PAT is scoped to this step only
# actions/checkout registers GITHUB_TOKEN as an HTTP extraheader which takes
# priority over credentials embedded in the remote URL. Unset it first so the
# PAT in the remote URL is actually used for the push.
git config --local --unset-all http.https://github.com/.extraheader
$repoUrl = "https://x-access-token:$($env:DOCS_PAT)@github.com/$env:GITHUB_REPOSITORY.git"
git remote set-url origin $repoUrl
git push origin $branchName
Expand Down
4 changes: 2 additions & 2 deletions source/resource/github/workflows/pesterTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
shell: pwsh
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
if($pesterFailed){throw 'Error with Pester invocation'}

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3
if: always() && github.event_name == 'pull_request'
with:
recreate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
shell: pwsh
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
}

- name: Add PSInvoke PR Comment
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3
if: always() && github.event_name == 'pull_request'
with:
recreate: true
Expand Down
Loading