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 }}"