From 1d81f95a741de99a9d1e4de27e76b0e2bb358f30 Mon Sep 17 00:00:00 2001 From: rohankumar1999 Date: Fri, 21 Jun 2024 12:32:27 -0700 Subject: [PATCH] chore: automatically create github PR attachment on asana ticket --- .github/workflows/create-asana-attachment.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/create-asana-attachment.yaml diff --git a/.github/workflows/create-asana-attachment.yaml b/.github/workflows/create-asana-attachment.yaml new file mode 100644 index 000000000..0d4923210 --- /dev/null +++ b/.github/workflows/create-asana-attachment.yaml @@ -0,0 +1,18 @@ +name: 'Create Asana Attachment' +on: + pull_request: + types: [opened, reopened] + +jobs: + create-asana-attachment-job: + runs-on: ubuntu-latest + name: Create pull request attachments on Asana tasks + timeout-minutes: 1 + steps: + - name: Create pull request attachments + uses: Asana/create-app-attachment-github-action@latest + id: postAttachment + with: + asana-secret: ${{ secrets.ASANA_SECRET }} + - name: Log output status + run: echo "Status is ${{ steps.postAttachment.outputs.status }}"