-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update move issues workflow * Update move issues workflow
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,8 +23,6 @@ on: | |
- assigned | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.DYNAMO_ISSUES_TOKEN }} | ||
gh_organization: ${{ github.repository_owner }} | ||
project_id: 7 | ||
project_name: DynamoRevit Issues | ||
|
||
|
@@ -34,22 +32,24 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: ${{ github.event.action == 'labeled' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Transfer issue to Dynamo Repository | ||
if: ${{ github.event.label.name == 'Dynamo' }} | ||
env: | ||
GH_TOKEN: ${{ secrets.DYNAMO_ISSUES_TOKEN }} | ||
run: | | ||
gh issue edit ${{ github.event.issue.number }} --remove-project "${{ env.project_name }}" | ||
gh issue edit ${{ github.event.issue.number }} --remove-project "${{ env.project_name }}" --repo ${{ github.repository }} | ||
gh issue transfer ${{ github.event.issue.number }} DynamoDS/Dynamo | ||
transfer_issue_labeled_as_wishlist: | ||
name: Transfer issue labeled as Wishlist | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.action == 'labeled' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Transfer issue to DynamoWishlist Repository | ||
if: ${{ github.event.label.name == 'Wishlist' }} | ||
env: | ||
GH_TOKEN: ${{ secrets.DYNAMO_ISSUES_TOKEN }} | ||
run: | | ||
gh issue edit ${{ github.event.issue.number }} --remove-project "${{ env.project_name }}" | ||
gh issue edit ${{ github.event.issue.number }} --remove-project "${{ env.project_name }}" --repo ${{ github.repository }} | ||
gh issue transfer ${{ github.event.issue.number }} DynamoDS/DynamoWishlist | ||
move_issue_labeled_as_tracked: | ||
name: Move issue labeled as tracked | ||
|
@@ -60,8 +60,8 @@ jobs: | |
if: ${{ github.event.label.name == 'tracked' }} | ||
uses: leonsteinhaeuser/[email protected] | ||
with: | ||
gh_token: ${{ env.GH_TOKEN }} | ||
organization: ${{ env.gh_organization }} | ||
gh_token: ${{ secrets.DYNAMO_ISSUES_TOKEN }} | ||
organization: ${{ github.repository_owner }} | ||
project_id: ${{ env.project_id }} | ||
resource_node_id: ${{ github.event.issue.node_id }} | ||
status_value: Todo | ||
|
@@ -73,8 +73,8 @@ jobs: | |
- name: Move issue to In Progress | ||
uses: leonsteinhaeuser/[email protected] | ||
with: | ||
gh_token: ${{ env.GH_TOKEN }} | ||
organization: ${{ env.gh_organization }} | ||
gh_token: ${{ secrets.DYNAMO_ISSUES_TOKEN }} | ||
organization: ${{ github.repository_owner }} | ||
project_id: ${{ env.project_id }} | ||
resource_node_id: ${{ github.event.issue.node_id }} | ||
status_value: In Progress |