Skip to content

developerka/test-docs-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Automate adding labeled issues to GitHub Beta projects

Action: https://github.com/actions/add-to-project

Create personal token with repo and admin:org permissions

screenshot

Add secret to repo where you want issues/PRs from.

Add workflow to repo where you want issues from.

name: Add docs to docs project

on:
  issues:
    types:
      - labeled

jobs:
  add-to-project:
    name: Add issue to project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/add-to-project@main
        with:
          project-url: https://github.com/orgs/developerka/projects/1
          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
          labeled: docs, 6.1
          label-operator: OR

Note on, can be issues and pull_request. https://github.com/developerka/add-to-project#supported-events Also, types can be different.

Under jobs - labeled.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published