Skip to content

Commit 51459f0

Browse files
🔧 [Docs]: Update permissions in workflow for Pages deployment and add id-token for source verification
1 parent ddf490b commit 51459f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎.github/workflows/workflow.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ permissions:
6767
contents: write # to checkout the repo and create releases on the repo
6868
pull-requests: write # to write comments to PRs
6969
statuses: write # to update the status of the workflow from linter
70+
pages: write # to deploy to Pages
71+
id-token: write # to verify the deployment originates from an appropriate source
7072

7173
jobs:
7274
Get-Settings:

‎README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,7 @@ in the workflow file.
269269

270270
| Name | Location | Description | Default |
271271
| ---- | -------- | ----------- | ------- |
272-
| `GITHUB_TOKEN` | `github` context | The token used to authenticate with GitHub. | `${{ secrets.GITHUB_TOKEN }}` |
273-
| `APIKey` | GitHub secrets | The API key for the PowerShell Gallery. | N/A |
272+
| `APIKEY` | GitHub secrets | The API key for the PowerShell Gallery. | N/A |
274273
| `TEST_APP_ENT_CLIENT_ID` | GitHub secrets | The client ID of an Enterprise GitHub App for running tests. | N/A |
275274
| `TEST_APP_ENT_PRIVATE_KEY` | GitHub secrets | The private key of an Enterprise GitHub App for running tests. | N/A |
276275
| `TEST_APP_ORG_CLIENT_ID` | GitHub secrets | The client ID of an Organization GitHub App for running tests. | N/A |

0 commit comments

Comments
 (0)