diff --git a/.github/workflows/action-pr-approved.yaml b/.github/workflows/action-pr-approved.yaml deleted file mode 100644 index d9289e66cad8..000000000000 --- a/.github/workflows/action-pr-approved.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Pull Request Reviewed - -on: - pull_request_review: - types: [submitted] - -jobs: - pr-reviewed: - if: github.event.review.state == 'approved' - runs-on: ubuntu-latest - steps: - - name: Update Asana task -> PR approved - uses: duckduckgo/native-github-asana-sync@v1.1 - with: - asana-pat: ${{ secrets.GH_ASANA_SECRET }} - trigger-phrase: "Task/Issue URL:" - action: 'notify-pr-approved' \ No newline at end of file diff --git a/.github/workflows/pr-review-notifications.yaml b/.github/workflows/pr-review-notifications.yaml index fc2c2b9d745c..406495034b5b 100644 --- a/.github/workflows/pr-review-notifications.yaml +++ b/.github/workflows/pr-review-notifications.yaml @@ -1,4 +1,4 @@ -name: Pull Request Reviewed -> Asana Sync +name: Pull Request Reviewed -> Sync With Asana on: pull_request_review: @@ -6,8 +6,8 @@ on: jobs: pr-reviewed: - name: Update Asana task -> PR reviewed - uses: duckduckgo/native-github-asana-sync/.github/workflows/pr-review-notifications.yml@david/improve-pr-notifications + name: Add PR reviewed comment + uses: duckduckgo/native-github-asana-sync/.github/workflows/pr-review-notifications.yml@v1.4 with: trigger-phrase: "Task/Issue URL:" secrets: