Skip to content

ci(issues): testing issue labeling automation pipeline #3

ci(issues): testing issue labeling automation pipeline

ci(issues): testing issue labeling automation pipeline #3

Workflow file for this run

name: Issues
on:
issues:
types:
- opened
- reopened
- closed
jobs:
label_issues:
runs-on: ubuntu-latest
steps:
- name: Add 'state:Backlog' label on issue opened or reopened
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' }}
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: state:Backlog
- name: Add 'state:Done' label on issue closed
if: ${{ github.event.action == 'closed' }}
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: state:Done