Skip to content

Commit a57b6e9

Browse files
🩹 [Patch]: Cleanup links across the module (#335)
## Description This pull request includes multiple changes to update outdated documentation links across various files. The updates ensure that all links point to the correct and current URLs on the GitHub documentation site. Updates to documentation links: * [`.github/CODEOWNERS`](diffhunk://#diff-3d36a1bf06148bc6ba1ce2ed3d19de32ea708d955fed212c0d27c536f0bd4da7L1-R1): Updated the link to the GitHub documentation about code owners. * [`.github/release.yml`](diffhunk://#diff-409fea45635f464aa0592700a92cf483be2f5b21b60f8f1b383756067ee79213L1-R1): Updated the link to the GitHub documentation about configuring automatically generated release notes. * [`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L13-R14): Updated multiple links to the GitHub documentation, including those for workflow commands, context awareness, and GitHub Apps. [[1]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L13-R14) [[2]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L59-R59) [[3]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L106-R106) Updates to PowerShell scripts: * [`src/functions/private/Actions/Get-GitHubWorkflowRunByRepo.ps1`](diffhunk://#diff-15835fb7d9c0f2d945276051ee378bdb3300a58e5c5b29983126962ef4a9c917L25-R25): Updated the link to the GitHub documentation for listing workflow runs for a repository. * [`src/functions/private/Actions/Get-GitHubWorkflowRunByWorkflow.ps1`](diffhunk://#diff-f1a7512226243dd8be3bba8fcac74f178aae2a0f11d1e675a02d651e7cfde069L27-R27): Updated the link to the GitHub documentation for listing workflow runs for a workflow. * [`src/functions/private/Apps/GitHub Apps/Get-GitHubAppByName.ps1`](diffhunk://#diff-2446812fa850e0b15e44ea484a0ef116efbe4b5d7e22b74960faf084b4015256L15-R15): Updated the link to the GitHub documentation for getting an app. * [`src/functions/private/Auth/DeviceFlow/Update-GitHubUserAccessToken.ps1`](diffhunk://#diff-c9f7dea521a81a196f46cb061086a358a387f3c3a1ed0892c2c008238795bab8L20-R20): Updated the link to the GitHub documentation for refreshing user access tokens. * [`src/functions/private/Teams/Get-GitHubRESTTeam.ps1`](diffhunk://#diff-efacd3612f7ed73e0426147e0fac909035328b1ea1a8f9a4a30ec5222b8666b1L23-R23): Updated the link to the GitHub documentation for getting a team by name. * [`src/functions/public/Actions/Workflow Run/Get-GitHubWorkflowRun.ps1`](diffhunk://#diff-d2331f59ff3e8de019d46827a62656d820b903da4b7f62868ddcf9bd94500bc2L36-R37): Updated multiple links to the GitHub documentation for listing workflow runs for a workflow and repository. * [`src/functions/public/Actions/Workflow Run/Restart-GitHubWorkflowRun.ps1`](diffhunk://#diff-46a063c6b2c9b4adde58c1b7c790cb460edab35098374f93103ca8e75b480de0L13-R13): Updated the link to the GitHub documentation for re-running a workflow. * [`src/functions/public/Actions/Workflow Run/Stop-GitHubWorkflowRun.ps1`](diffhunk://#diff-81736970139b8ec28be0acdacd46b906050ec999d78e397064e9ef77e3ecb1e9L15-R15): Updated the link to the GitHub documentation for canceling a workflow run. * [`src/functions/public/Actions/Workflow/Disable-GitHubWorkflow.ps1`](diffhunk://#diff-b18561223c819498beaf91f5e2c9a4e2784da2693b8cff1177a32f7ede62f939L4-R4): Updated the link to the GitHub documentation for disabling a workflow. * [`src/functions/public/Actions/Workflow/Enable-GitHubWorkflow.ps1`](diffhunk://#diff-38ae5fe1a8cc9a6f90b7e164a80d6ee16a5b3c97e9791cedcd1f3c733155df1aL4-R4): Updated the link to the GitHub documentation for enabling a workflow. * [`src/functions/public/Actions/Workflow/Get-GitHubWorkflow.ps1`](diffhunk://#diff-cd2cdd719bba4347994dc205293761bbc000b5db3cb03ea7a583f7a298992137L22-R22): Updated the link to the GitHub documentation for listing repository workflows. * [`src/functions/public/Actions/Workflow/Get-GitHubWorkflowUsage.ps1`](diffhunk://#diff-71fae8086354c206780b979779b2b2c20e0d8b2ae8a8ac48e20d14971cd37986L13-R13): Updated the link to the GitHub documentation for getting workflow usage. * [`src/functions/public/Actions/Workflow/Start-GitHubWorkflow.ps1`](diffhunk://#diff-4c9b81a5835b2db40ecc843cb10c1953f164d2765eeca76008654cd2d776b04eL18-R18): Updated the link to the GitHub documentation for creating a workflow dispatch event. * [`src/functions/public/Apps/GitHub App/Get-GitHubApp.ps1`](diffhunk://#diff-eb4b0ed1f801228094dc7d155d3b2cd9a7a417d294ead8583bdfa87e455efcd5L20-R20): Updated the link to the GitHub documentation for getting an app. * [`src/functions/public/Apps/GitHub App/Get-GitHubAppJSONWebToken.ps1`](diffhunk://#diff-24a011fa6d25c6e8c7a27949f842a0a45d3ae10a3acb7aac07eb82f69ff5ae79L23-R23): Updated the link to the GitHub documentation for generating a JSON Web Token (JWT) for a GitHub App. * [`src/functions/public/Auth/Get-GitHubViewer.ps1`](diffhunk://#diff-1e75a435cc90f52258e3aaf9a383c90364e919582164d7745fd70d2e1e6bf7deL15-R15): Updated the link to the GitHub documentation for the GraphQL API - Queries - Viewer. * [`src/functions/public/Commands/Add-GitHubMask.ps1`](diffhunk://#diff-7b4a7930ce1b4175bf9bcdd31d6ec8492cf451f0c8d9e387fcb0a97c70b7a709L23-R23): Updated the link to the GitHub documentation for masking a value in a log. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas
1 parent dd2af30 commit a57b6e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+54
-54
lines changed

Diff for: .github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
1+
# https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
22
# Each line is a file pattern followed by one or more owners.
33

44
# These owners will be the default owners for everything in

Diff for: .github/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
1+
# https://docs.github.com/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
22

33
changelog:
44
exclude:

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ and GitHub enthusiasts who want to use PowerShell to integrate or manage GitHub
1010
with multiple accounts; be that GitHub (public, github.com), GitHub Enterprise Cloud (GHEC, including GHE.com) and GitHub Enterprise Server (GHES).
1111
- **A great GitHub Action Workflow companion**
1212
The module is built to be a companion in GitHub Actions. It comes with PowerShell-flavored
13-
[workflow-commands](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions) and
14-
is [context aware](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs).
13+
[workflow-commands](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions) and
14+
is [context aware](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs).
1515
So it detects how it is being used and loads available information dynamically. You can provide it the `GITHUB_TOKEN`, a client ID and private key
1616
for a GitHub App, or a user access token (fine-grained or classic). In addition to be a great local scripting companion, it also understands when
1717
its run in GitHub Actions where it will automatically detect the event that triggered the workflow and provide the necessary context to commands. So
@@ -56,7 +56,7 @@ This is the recommended method for authentication due to access tokens being sho
5656
It opens a browser window and prompts you to log in to GitHub. Once you log in, you will be provided with
5757
a code that you need to paste into the PowerShell console. The command already puts the code in your clipboard.
5858
It uses a GitHub App to authenticate, which is more secure than using a personal access token. The GitHub App
59-
is only granted access to the organizations or repositories you install it on. Visit the [GitHub Apps documentation](https://docs.github.com/en/developers/apps/about-apps)
59+
is only granted access to the organizations or repositories you install it on. Visit the [GitHub Apps documentation](https://docs.github.com/developers/apps/about-apps)
6060
to read more about GitHub Apps. You can also use a different GitHub App to issue user access tokens, check the section on
6161
[Using a different GitHub App for issuing User access tokens](#using-a-different-github-app-for-issuing-user-access-tokens) for more information.
6262

@@ -103,7 +103,7 @@ Connect-GitHubAccount
103103

104104
This uses the same flow as above, but instead of using the GitHub App, it uses an OAuth app with long lived tokens.
105105
During the signing you can also authorize the app to access your private repositories.
106-
Visit the [OAuth apps documentation](https://docs.github.com/en/developers/apps/about-apps) to read more about OAuth apps on GitHub.
106+
Visit the [OAuth apps documentation](https://docs.github.com/developers/apps/about-apps) to read more about OAuth apps on GitHub.
107107

108108
```powershell
109109
Connect-GitHubAccount -Mode OAuth

Diff for: src/functions/private/Actions/Get-GitHubWorkflowRunByRepo.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Lists all workflow runs for a repository with the specified actor, branch, event, and status.
2323
2424
.NOTES
25-
[List workflow runs for a repository](https://docs.github.com/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-repository)
25+
[List workflow runs for a repository](https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository)
2626
#>
2727
[CmdletBinding()]
2828
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Contains a long link.')]

Diff for: src/functions/private/Actions/Get-GitHubWorkflowRunByWorkflow.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
`octocat` on the branch `main` and have the status `success`.
2525
2626
.NOTES
27-
[List workflow runs for a workflow](https://docs.github.com/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-workflow)
27+
[List workflow runs for a workflow](https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow)
2828
#>
2929
[CmdletBinding()]
3030
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Contains a long link.')]

Diff for: src/functions/private/Apps/GitHub Apps/Get-GitHubAppByName.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Gets the GitHub App with the slug 'github-actions'.
1313
1414
.NOTES
15-
[Get an app](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app)
15+
[Get an app](https://docs.github.com/rest/apps/apps#get-an-app)
1616
#>
1717
[OutputType([pscustomobject])]
1818
[CmdletBinding()]

Diff for: src/functions/private/Auth/DeviceFlow/Update-GitHubUserAccessToken.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
This will update the GitHub access token for the context 'github.com/mojombo'.
1818
1919
.NOTES
20-
[Refreshing user access tokens](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens)
20+
[Refreshing user access tokens](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens)
2121
#>
2222
[CmdletBinding(SupportsShouldProcess)]
2323
[OutputType([securestring])]

Diff for: src/functions/private/Teams/Get-GitHubRESTTeam.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
.NOTES
2222
[List teams](https://docs.github.com/rest/teams/teams#list-teams)
23-
[Get team by name](https://docs.github.com/en/rest/teams/teams#get-a-team-by-name)
23+
[Get team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name)
2424
#>
2525
[OutputType([pscustomobject])]
2626
[CmdletBinding(DefaultParameterSetName = '__AllParameterSets')]

Diff for: src/functions/public/Actions/Workflow Run/Get-GitHubWorkflowRun.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
the user `octocat` on the branch `main` and have the status `success`.
3434
3535
.NOTES
36-
[List workflow runs for a workflow](https://docs.github.com/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-workflow)
37-
[List workflow runs for a repository](https://docs.github.com/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-repository)
36+
[List workflow runs for a workflow](https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow)
37+
[List workflow runs for a repository](https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository)
3838
#>
3939
[CmdletBinding(DefaultParameterSetName = '__AllParameterSets')]
4040
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Contains a long link.')]

Diff for: src/functions/public/Actions/Workflow Run/Restart-GitHubWorkflowRun.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Start-GitHubWorkflowReRun -Owner 'octocat' -Repository 'Hello-World' -ID 123456789
1111
1212
.NOTES
13-
[Re-run a workflow](https://docs.github.com/en/rest/actions/workflow-runs#re-run-a-workflow)
13+
[Re-run a workflow](https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow)
1414
#>
1515
[CmdletBinding(SupportsShouldProcess)]
1616
param(

Diff for: src/functions/public/Actions/Workflow Run/Stop-GitHubWorkflowRun.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Cancels the workflow run with the ID 123456789 from the 'Hello-World' repository owned by 'octocat'
1313
1414
.NOTES
15-
[Cancel a workflow run](https://docs.github.com/en/rest/actions/workflow-runs#cancel-a-workflow-run)
15+
[Cancel a workflow run](https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run)
1616
#>
1717
[CmdletBinding(SupportsShouldProcess)]
1818
[alias('Cancel-GitHubWorkflowRun')]

Diff for: src/functions/public/Actions/Workflow/Disable-GitHubWorkflow.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
filter Disable-GitHubWorkflow {
22
<#
33
.NOTES
4-
[Disable a workflow](https://docs.github.com/en/rest/actions/workflows#disable-a-workflow)
4+
[Disable a workflow](https://docs.github.com/rest/actions/workflows#disable-a-workflow)
55
#>
66
[CmdletBinding(SupportsShouldProcess)]
77
param(

Diff for: src/functions/public/Actions/Workflow/Enable-GitHubWorkflow.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
filter Enable-GitHubWorkflow {
22
<#
33
.NOTES
4-
[Enable a workflow](https://docs.github.com/en/rest/actions/workflows#enable-a-workflow)
4+
[Enable a workflow](https://docs.github.com/rest/actions/workflows#enable-a-workflow)
55
#>
66
[CmdletBinding(SupportsShouldProcess)]
77
param(

Diff for: src/functions/public/Actions/Workflow/Get-GitHubWorkflow.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Gets the 'hello-world.yml' workflow in the 'octocat/hello-world' repository.
2020
2121
.NOTES
22-
[List repository workflows](https://docs.github.com/rest/actions/workflows?apiVersion=2022-11-28#list-repository-workflows)
22+
[List repository workflows](https://docs.github.com/rest/actions/workflows#list-repository-workflows)
2323
#>
2424
[CmdletBinding()]
2525
param(

Diff for: src/functions/public/Actions/Workflow/Get-GitHubWorkflowUsage.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
An example
1111
1212
.NOTES
13-
[Get workflow usage](https://docs.github.com/en/rest/actions/workflows#get-workflow-usage)
13+
[Get workflow usage](https://docs.github.com/rest/actions/workflows#get-workflow-usage)
1414
#>
1515
[CmdletBinding()]
1616
param(

Diff for: src/functions/public/Actions/Workflow/Start-GitHubWorkflow.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
1717
.NOTES
18-
[Create a workflow dispatch event](https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event)
18+
[Create a workflow dispatch event](https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event)
1919
#>
2020
[CmdletBinding(SupportsShouldProcess)]
2121
param(

Diff for: src/functions/public/Apps/GitHub App/Get-GitHubApp.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Get the GitHub App with the slug 'github-actions'.
1818
1919
.NOTES
20-
[Get an app](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app)
20+
[Get an app](https://docs.github.com/rest/apps/apps#get-an-app)
2121
[Get the authenticated app | GitHub Docs](https://docs.github.com/rest/apps/apps#get-the-authenticated-app)
2222
#>
2323
[OutputType([pscustomobject])]

Diff for: src/functions/public/Apps/GitHub App/Get-GitHubAppJSONWebToken.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
System.String
2121
2222
.NOTES
23-
[Generating a JSON Web Token (JWT) for a GitHub App | GitHub Docs](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app#example-using-powershell-to-generate-a-jwt)
23+
[Generating a JSON Web Token (JWT) for a GitHub App | GitHub Docs](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app#example-using-powershell-to-generate-a-jwt)
2424
#>
2525
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
2626
'PSAvoidLongLines',

Diff for: src/functions/public/Auth/Get-GitHubViewer.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Gets the currently authenticated user.
1313
1414
.NOTES
15-
[GraphQL API - Queries - Viewer](https://docs.github.com/en/graphql/reference/queries#viewer)
15+
[GraphQL API - Queries - Viewer](https://docs.github.com/graphql/reference/queries#viewer)
1616
#>
1717
[CmdletBinding()]
1818
param(

Diff for: src/functions/public/Commands/Add-GitHubMask.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Masks the value of $SecretValue1 and $SecretValue2 so that its printed like ***, using the pipeline
2121
2222
.NOTES
23-
[Masking a value in a log](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#masking-a-value-in-a-log)
23+
[Masking a value in a log](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#masking-a-value-in-a-log)
2424
#>
2525
[Alias('Mask', 'Add-Mask')]
2626
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(

Diff for: src/functions/public/Commands/Add-GitHubSystemPath.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Add-GitHubSystemPath -Path '$HOME/.local/bin'
1313
1414
.NOTES
15-
[Adding a system path](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path)
15+
[Adding a system path](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path)
1616
#>
1717
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
1818
'PSAvoidLongLines', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Disable-GitHubCommand.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Stops processing any workflow commands.
1717
1818
.NOTES
19-
[Stopping and starting workflow commands](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands)
19+
[Stopping and starting workflow commands](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands)
2020
#>
2121
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
2222
'PSAvoidLongLines', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Enable-GitHubCommand.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Resumes processing any workflow commands.
1616
1717
.NOTES
18-
[Stopping and starting workflow commands](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands)
18+
[Stopping and starting workflow commands](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands)
1919
#>
2020
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
2121
'PSAvoidLongLines', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Set-GitHubEnvironmentVariable.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Set-GitHubEnv -Name 'MyVariable' -Value 'MyValue'
1111
1212
.NOTES
13-
[Setting an environment variable](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable)
13+
[Setting an environment variable](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable)
1414
#>
1515
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
1616
'PSAvoidLongLines', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Set-GitHubLogGroup.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Uses the alias 'LogGroup' to create a new log group named 'MyGroup' and writes 'Hello, World!' to the output.
2323
2424
.NOTES
25-
[GitHub - Grouping log lines](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines)
25+
[GitHub - Grouping log lines](https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines)
2626
#>
2727
[Alias('LogGroup')]
2828
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(

Diff for: src/functions/public/Commands/Set-GitHubNoCommandGroup.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Groups commands where no workflow commands are run, using an alias and DSL approach.
2525
2626
.NOTES
27-
[Stopping and starting workflow commands](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands)
27+
[Stopping and starting workflow commands](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands)
2828
#>
2929
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
3030
'PSAvoidLongLines', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Set-GitHubStepSummary.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
Job summaries support GitHub flavored Markdown, and you can add your Markdown content for a step to the `GITHUB_STEP_SUMMARY`
1212
environment file. `GITHUB_STEP_SUMMARY` is unique for each step in a job. For more information about the per-step file that
13-
`GITHUB_STEP_SUMMARY` references, see [Environment files](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions?utm_source=chatgpt.com#environment-files).
13+
`GITHUB_STEP_SUMMARY` references, see [Environment files](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions?utm_source=chatgpt.com#environment-files).
1414
1515
When a job finishes, the summaries for all steps in a job are grouped together into a single job summary and are shown on the
1616
workflow run summary page. If multiple jobs generate summaries, the job summaries are ordered by job completion time.
@@ -19,7 +19,7 @@
1919
Set-GitHubStepSummary -Summary 'Hello, World!'
2020
2121
.NOTES
22-
[Adding a job summary](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions?utm_source=chatgpt.com#adding-a-job-summary)
22+
[Adding a job summary](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions?utm_source=chatgpt.com#adding-a-job-summary)
2323
#>
2424
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
2525
'PSAvoidLongLines', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Start-GitHubLogGroup.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Starts a new log group named 'MyGroup'
1010
1111
.NOTES
12-
[GitHub - Grouping log lines](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines)
12+
[GitHub - Grouping log lines](https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines)
1313
#>
1414
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
1515
'PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Stop-GitHubLogGroup.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Starts a new log group named 'MyGroup'
1010
1111
.NOTES
12-
[GitHub - Grouping log lines](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines)
12+
[GitHub - Grouping log lines](https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines)
1313
#>
1414
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
1515
'PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Write-GitHubDebug.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.DESCRIPTION
77
Write a debug message in GitHub Actions. The message will only be displayed if the action is running in debug mode.
88
To run in debug mode, you must create a secret or variable named ACTIONS_STEP_DEBUG with the value `true` to see the debug messages set by
9-
this command in the log. For more information, see [Enabling debug logging](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging).
9+
this command in the log. For more information, see [Enabling debug logging](https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging).
1010
1111
If both the secret and variable are set, the value of the secret takes precedence over the variable.
1212
@@ -16,7 +16,7 @@
1616
Writes a debug message 'Hello, World!'.
1717
1818
.NOTES
19-
[Enabling debug logging](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-a-debug-message)
19+
[Enabling debug logging](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-a-debug-message)
2020
#>
2121
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
2222
'PSAvoidLongLines', '', Scope = 'Function',

Diff for: src/functions/public/Commands/Write-GitHubError.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Writes a error message 'Hello, World!'.
1313
1414
.NOTES
15-
[Enabling debug logging](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-error-message)
15+
[Enabling debug logging](https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-error-message)
1616
#>
1717
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
1818
'PSAvoidLongLines', '', Scope = 'Function',

0 commit comments

Comments
 (0)