Skip to content

Commit

Permalink
Merge pull request #142 from timrogers/timrogers/draft-issue
Browse files Browse the repository at this point in the history
Allow users to add an issue/PR to a board in a different organization
  • Loading branch information
mattcosta7 authored Jul 21, 2022
2 parents 0af0b18 + 1809404 commit a9f041d
Show file tree
Hide file tree
Showing 5 changed files with 325 additions and 79 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Note that this action does not support [GitHub projects (classic)](https://docs.

[![build-test](https://github.com/actions/add-to-project/actions/workflows/test.yml/badge.svg)](https://github.com/actions/add-to-project/actions/workflows/test.yml)

> **NOTE:** This Action (currently) only supports auto-adding Issues/Pull Requests to a Project which lives in the same organization as your target Repository.
> **NOTE:** ⚠️ This action no longer uses the deprecated ProjectNext API. If you are looking for the old version of that action, use version [v0.0.5](https://github.com/actions/add-to-project/releases/tag/v0.0.5).
## Usage
Expand Down Expand Up @@ -40,6 +38,8 @@ jobs:
steps:
- uses: actions/add-to-project@RELEASE_VERSION
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/<orgName>/projects/<projectNumber>
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: bug, needs-triage
Expand Down
Loading

0 comments on commit a9f041d

Please sign in to comment.