Skip to content

Commit

Permalink
Merge pull request #25 from chancancode/patch-1
Browse files Browse the repository at this point in the history
Provide default for GITHUB_TOKEN
  • Loading branch information
gomorizsolt authored Apr 3, 2020
2 parents deda201 + 6a22147 commit bd8893b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ jobs:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
age: '1 month'
skip-tags: true
```
_Note: `secrets.GITHUB_TOKEN` is a repository-level access token already provided by the Actions framework, you don't need to set any secrets._
## Conventions
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ inputs:
GITHUB_TOKEN:
description: 'Access token for the repository, available under the same name in secrets.'
required: true
default: ${{ github.token }}
skip-tags:
description: 'true/false. If enabled, tag build artifacts (e.g. release artifacts) will be kept.'
required: false

0 comments on commit bd8893b

Please sign in to comment.