Skip to content

Commit 6504143

Browse files
committed
docs: update docs for v4.1
1 parent 83886d4 commit 6504143

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111

1212
# Change Log
1313

14+
## v4.1
15+
16+
- Add default token.
17+
- Fix over-arching `catch` output; errors now correctly result in a failed run ([@TheMrMilchmann ](https://github.com/TheMrMilchmann)).
18+
1419
## v4.0
1520

1621
- Add support for artifacts uploaded with `actions/upload-artifact@v4`.
@@ -25,4 +30,3 @@
2530
## v1.0
2631

2732
- Initial release.
28-

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A GitHub Action for deleting artifacts within the workflow run. This can be usef
1717
See [action.yml](action.yml)
1818

1919
> [!IMPORTANT]
20-
> Support for `actions/upload-artifact@v4` utilizes the GitHub REST API, and requires a permissive [`GITHUB_TOKEN`](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token), or a PAT with read and write access to actions.
20+
> Support for `actions/upload-artifact@v4` utilizes the GitHub REST API, and requires a permissive [`GITHUB_TOKEN`](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token), or a PAT with read and write access to `actions`.
2121
2222
### Delete an individual artifact
2323

@@ -36,7 +36,6 @@ steps:
3636

3737
- uses: geekyeggo/delete-artifact@v4
3838
with:
39-
token: ${{ secrets.GITHUB_TOKEN }}
4039
name: my-artifact
4140
```
4241
@@ -46,7 +45,6 @@ steps:
4645
steps:
4746
- uses: geekyeggo/delete-artifact@v4
4847
with:
49-
token: ${{ secrets.GITHUB_TOKEN }}
5048
name: |
5149
artifact-*
5250
binary-file
@@ -61,8 +59,6 @@ By default, the action will fail when it was not possible to delete an artifact
6159
steps:
6260
- uses: geekyeggo/delete-artifact@v4
6361
with:
64-
token: ${{ secrets.GITHUB_TOKEN }}
6562
name: okay-to-keep
6663
failOnError: false
6764
```
68-

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "delete-artifact",
33
"description": "Deletes artifacts from a workflow run",
4-
"version": "3.0.0",
4+
"version": "4.1.0",
55
"main": "src/index.ts",
66
"scripts": {
77
"build": "ncc build",
@@ -31,4 +31,3 @@
3131
"typescript": "^5.3.3"
3232
}
3333
}
34-

0 commit comments

Comments
 (0)