File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is an action to close asana tasks that were generated by Github issues
2+
3+ name : Zapier web hook
4+
5+ # Controls when the workflow will run
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the "main" branch
8+ issues :
9+ types : [closed]
10+
11+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+ jobs :
13+ # This workflow contains a single job called "build"
14+ build :
15+ # The type of runner that the job will run on
16+ runs-on : ubuntu-latest
17+
18+ # Steps represent a sequence of tasks that will be executed as part of the job
19+ steps :
20+ # Runs a set of commands using the runners shell
21+ - name : Call Zapier web hook to close Asana task
22+ if : ${{ !github.event.issue.pull_request }}
23+ run : |
24+ curl --location --request POST 'https://hooks.zapier.com/hooks/catch/12728683/b7009qc/' \
25+ --header 'Content-Type: application/json' \
26+ --header 'Accept: application/json' \
27+ --data-raw '{
28+ "task_name" : "${{ github.event.issue.title }}"
29+ }'
You can’t perform that action at this time.
0 commit comments