Skip to content

Commit

Permalink
💚 New Release
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbadyal committed Sep 8, 2022
1 parent bf29092 commit d2e3ab8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.0.1 (2022/09/05)
## v0.0.2 (2022/09/08)

* Updated input case

## v0.0.1 (2022/09/05)

* Initial version
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To use the action, add following to your workflow file

```yaml
- name: Delete Older Releases
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
uses: nikhilbadyal/ghaction-rm-releases@v0.0.2
with:
github_token: ${{ secrets.GH_TOKEN }}
release_pattern: 'Build*'
Expand Down
2 changes: 1 addition & 1 deletion __test__/github.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ beforeEach(() => {
for (const k in repoEnv) {
process.env[k] = repoEnv[k]
}
octokit = github.getMyOctokit(process.env.github_token || '', {
octokit = github.getMyOctokit(process.env.GITHUB_TOKEN || '', {
log: console
})
})
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: 'Rm Release GitHub Action'
description: 'A GitHub action to remove older releases with their tags.'
author: 'nikhilbadyal'
inputs:
github_token:
GITHUB_TOKEN:
required: true
description: 'Github token'
release_pattern:
RELEASE_PATTERN:
required: true
description: 'Regex pattern to match releases.'

Expand Down

0 comments on commit d2e3ab8

Please sign in to comment.