Skip to content

Commit

Permalink
use proper inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein committed Dec 18, 2024
1 parent 42113dc commit e594cf6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/pr-review-notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
with:
action: 'post-comment-asana-task'
asana-pat: ${{ secrets.asana_pat }}
asanta-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asanta-task-comment: 'PR: ${{ github.event.pull_request.html_url }} has been approved.'
asanta-task-comment-pinned: true
asana-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asana-task-comment: 'PR: ${{ github.event.pull_request.html_url }} has been approved.'
asana-task-comment-pinned: true

- name: Add Changes Requested Comment to Asana Task
if: github.event.review.state == 'changes_requested'
Expand All @@ -46,9 +46,9 @@ jobs:
with:
action: 'post-comment-asana-task'
asana-pat: ${{ secrets.asana_pat }}
asanta-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asanta-task-comment: 'PR: ${{ github.event.pull_request.html_url }} has changed requested.'
asanta-task-comment-pinned: false
asana-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asana-task-comment: 'PR: ${{ github.event.pull_request.html_url }} has changed requested.'
asana-task-comment-pinned: false

- name: Add Dismissed Comment to Asana Task
if: github.event.review.state == 'dismissed'
Expand All @@ -57,9 +57,9 @@ jobs:
with:
action: 'post-comment-asana-task'
asana-pat: ${{ secrets.asana_pat }}
asanta-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asanta-task-comment: 'PR: ${{ github.event.pull_request.html_url }} review has been dismissed.'
asanta-task-comment-pinned: false
asana-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asana-task-comment: 'PR: ${{ github.event.pull_request.html_url }} review has been dismissed.'
asana-task-comment-pinned: false

- name: Add Review Comment to Asana Task
if: github.event.review.state == 'commented'
Expand All @@ -68,6 +68,6 @@ jobs:
with:
action: 'post-comment-asana-task'
asana-pat: ${{ secrets.asana_pat }}
asanta-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asanta-task-comment: 'PR: ${{ github.event.pull_request.html_url }} has been reviewed.'
asanta-task-comment-pinned: false
asana-task-id: ${{ steps.find-asana-task-id.outputs.asanaTaskId }}
asana-task-comment: 'PR: ${{ github.event.pull_request.html_url }} has been reviewed.'
asana-task-comment-pinned: false

0 comments on commit e594cf6

Please sign in to comment.