chore: Add Recon #1049
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Move Asana ticket after PR opened | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
move-asana-ticket-job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Github-Asana action from Insurify | |
uses: insurify/[email protected] | |
with: | |
asana-pat: ${{ secrets.ASANA_SECRET_FOR_INSURIFY_ACTION }} | |
trigger-phrase: "\\*\\*Asana task\\*\\*:" | |
targets: '[{"project": "Screens Dev - Sprint", "section": "In Review"}]' | |
create-asana-attachment-job: | |
if: contains(github.event.pull_request.body, 'https://app.asana.com') | |
runs-on: ubuntu-latest | |
name: Create pull request attachments on Asana tasks | |
steps: | |
- name: Create pull request attachments | |
uses: Asana/[email protected] | |
id: postAttachment | |
with: | |
asana-secret: ${{ secrets.ASANA_GITHUB_INTEGRATION_SECRET }} | |
- name: Log output status | |
run: echo "Status is ${{ steps.postAttachment.outputs.status }}" |