Skip to content

Task List Actions

Actions
Automatically labels an opened issue on a task list
1.0.1
Latest
Star (2)

Issue Task List Action

This action automatically labels an issue that is opened from the "Convert to issue" feature of issue task lists.

Supported events

  • opened issue

Inputs

Input Name Required Details
parent-label The parent label to match before applying the label to the opened issue, if not provided will apply the label to all converted issues
task-label ✔️ The comma separated list of labels to apply to the opened issue

Environment Variables

To correctly use this action, we currently require a Personal Access Token with repo permissions. This token can be added to the repository secrets and used in the action with:

env:
  PAT_TOKEN: ${{ secrets.PAT_TOKEN }}

Example Usage

name: Labels epic tasks with the feature label

on:
  issues:
    types: [opened]

jobs:
  label-task:
    runs-on: ubuntu-latest
    name: Label task for epics
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          repository: obvioussean/tasks-action
      - name: Labels the feature
        id: label_feature
        uses: ./ # Uses an action in the root directory
        with:
          parent-label: 'epic'
          task-label: 'feature'
        env:
          PAT_TOKEN: ${{ secrets.PAT_TOKEN }}

Task List Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automatically labels an opened issue on a task list
1.0.1
Latest

Task List Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.