Skip to content

Commit

Permalink
feat: add default token
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekyEggo committed Jan 13, 2024
1 parent 6b67656 commit dafc9f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,15 @@ jobs:
- name: Delete (specific, glob disabled)
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: my-artifact
useGlob: false

- name: Delete (pattern, glob enabled)
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: my-*

- name: Delete (specific, glob enabled)
- name: Delete (specific, glob enabled, and token specified)
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ inputs:
token:
description: GitHub token with read and write access to actions for the repository.
required: true
default: ${{ github.token }}
useGlob:
description: Indicates whether the name, or names, should be treated as glob patterns.
required: false
Expand All @@ -21,4 +22,3 @@ runs:
branding:
icon: trash-2
color: red

0 comments on commit dafc9f9

Please sign in to comment.