Warning
This repository is archived and no longer maintained.
There is no replacement action. Workflows that still need to add a label
should call gh issue edit NUMBER --add-label LABEL directly. Telegram
notification filtering belongs to the caller before invoking the reusable
workflows in rubykatzen/baseline.
This action get issue labels via gh client
Here's an example of how to use this action in a workflow file:
name: Example Workflow
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add Label
uses: rubycats-com/issue-add-label-action@main
with:
number: ${{ github.event.issue.number }}
label: 'delivered'| Input | Required | Description |
|---|---|---|
number |
true | Issue id |
label |
true | Label title |
Please make sure that label with this title is available
No outputs in this action