Skip to content

somnolentPumpkin/issue-card-creator-and-labeler

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Label Issue and Add to Project

This GitHub Action is written in JavaScript, though its purpose is fairly specific. For organization-level GitHub projects that specifically use the projects beta, it will automatically take issues as they're created, label them, and then add them to the project.

Note: It requires you to set have an organization-level secret called ACCESS_TOKEN, and the value should be an access token that allows you to read at the organization level, and write at the individual repo level.

Example YML:

on:
  issues:
    types: [opened]

jobs:
  issue_creator_job:
    runs-on: ubuntu-latest
    name: Label issue and add to project
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Label issue and add to project
        uses: somnolentPumpkin/[email protected]
        id: hello
        with:
          github-token: ${{ secrets.ACCESS_TOKEN }}
          actions: '{"data": [
            {
              "label": "Bugs",
              "project": "1",
              "repo": "your-repo",
              "org": "your-org-name"
            }
          ]}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published