Skip to content

Commit

Permalink
Merge pull request #288 from actions/use-artifacts-client
Browse files Browse the repository at this point in the history
Use the Actions artifacts client to avoid needing the `actions: read` permission
  • Loading branch information
JamesMGreene committed Dec 22, 2023
2 parents 47cf65b + 35a0f06 commit d8af841
Show file tree
Hide file tree
Showing 10 changed files with 141,016 additions and 41,693 deletions.
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -30,7 +30,6 @@ jobs:
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
actions: read # to download an artifact uploaded by `actions/upload-pages-artifact@v3`

# Deploy to the github-pages environment
environment:
Expand Down Expand Up @@ -77,7 +76,6 @@ There are a few important considerations to be aware of:
2. The job that executes the deployment must at minimum have the following permissions:
- `pages: write`
- `id-token: write`
- `actions: read`

3. The deployment should target the `github-pages` environment (you may use a different environment name if needed, but this is not recommended.)

Expand Down
2 changes: 1 addition & 1 deletion coverage_badge.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
178,329 changes: 136,869 additions & 41,460 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2,802 changes: 2,784 additions & 18 deletions dist/licenses.txt

Large diffs are not rendered by default.

0 comments on commit d8af841

Please sign in to comment.