Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hankei6km/collect-labels-from-release-note
GitHub Action to collect labels from the release note
https://github.com/hankei6km/collect-labels-from-release-note
actions github github-actions
Last synced: about 1 month ago
JSON representation
GitHub Action to collect labels from the release note
- Host: GitHub
- URL: https://github.com/hankei6km/collect-labels-from-release-note
- Owner: hankei6km
- License: mit
- Created: 2022-01-29T10:19:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-28T04:01:53.000Z (over 2 years ago)
- Last Synced: 2023-04-05T22:09:09.918Z (over 1 year ago)
- Topics: actions, github, github-actions
- Language: TypeScript
- Homepage:
- Size: 2.17 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# collect-labels-from-release-note
This action collects labels from the release note.
## Inputs
### `token`
**Required** The token to call GitHub API in action.
### `repository`
**Required** The name of the repository.
### `tag_name`
**Required** The name of the tag name to access the release.
## Outputs
### `labels`
labels collected from the release note.
## Example usage
```yaml
- name: Collect
id: collect
uses: hankei6km/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN}}
repository: hankei6km/collect-labels-from-release-note
tag_name: v0.2.x
- name: Contains item
run: test "${CONTAIN}" = "true"
env:
CONTAIN: ${{ contains(toJson(steps.collect.outputs.labels), 'testing') }}
```## Licenses
MIT License
Copyright (c) 2022 hankei6km