Skip to content

Commit

Permalink
fix(cd): update values in issue tracker (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
adan-ea committed Feb 13, 2024
1 parent d98f213 commit 2a9ade4
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/issue_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ env:
done: ✅Done
wip: 🚧In Progress
nth: 📓Backlog
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
organization: adroidea
project_id: 2
resource_node_id: ${{ github.event.issue.node_id }}

jobs:
issue_opened_or_reopened:
Expand All @@ -20,20 +24,20 @@ jobs:
uses: leonsteinhaeuser/[email protected]
if: ${{ ! contains(github.event.issue.labels.*.name, 'NTH') && ! contains(github.event.issue.labels.*.name, 'invalid')}}
with:
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
user: adan-ea
project_id: 2
resource_node_id: ${{ github.event.issue.node_id }}
gh_token: ${{ env.gh_token }}
organization: ${{ env.organization }}
project_id: ${{env.project_id}}
resource_node_id: ${{ env.resource_node_id }}
status_value: ${{ env.todo }}

- name: Move issue to ${{ env.nth }}
uses: leonsteinhaeuser/[email protected]
if: ${{ contains(github.event.issue.labels.*.name, 'NTH') }}
with:
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
user: adan-ea
project_id: 2
resource_node_id: ${{ github.event.issue.node_id }}
gh_token: ${{ env.gh_token }}
organization: ${{ env.organization }}
project_id: ${{env.project_id}}
resource_node_id: ${{ env.resource_node_id }}
status_value: ${{ env.nth }}

issue_closed:
Expand All @@ -44,8 +48,8 @@ jobs:
- name: Moved issue to ${{ env.done }}
uses: leonsteinhaeuser/[email protected]
with:
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
user: adan-ea
project_id: 2
resource_node_id: ${{ github.event.issue.node_id }}
gh_token: ${{ env.gh_token }}
organization: ${{ env.organization }}
project_id: ${{env.project_id}}
resource_node_id: ${{ env.resource_node_id }}
status_value: ${{ env.done }}

0 comments on commit 2a9ade4

Please sign in to comment.