File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 77 # Triggers the workflow on push or pull request events but only for the "main" branch
88 issues :
99 types : [closed]
10+
11+ permissions :
12+ issues : read
1013
1114# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1215jobs :
@@ -20,10 +23,12 @@ jobs:
2023 # Runs a set of commands using the runners shell
2124 - name : Call Zapier web hook to close Asana task
2225 if : ${{ !github.event.issue.pull_request }}
26+ env :
27+ ISSUE_TITLE : ${{ github.event.issue.title }}
2328 run : |
2429 curl --location --request POST 'https://hooks.zapier.com/hooks/catch/12728683/b7009qc/' \
2530 --header 'Content-Type: application/json' \
2631 --header 'Accept: application/json' \
2732 --data-raw '{
28- "task_name" : "${{ github.event.issue.title }} "
33+ "task_name" : "$ISSUE_TITLE "
2934 }'
You can’t perform that action at this time.
0 commit comments