File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 7
7
# Triggers the workflow on push or pull request events but only for the "main" branch
8
8
issues :
9
9
types : [closed]
10
+
11
+ permissions :
12
+ issues : read
10
13
11
14
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12
15
jobs :
@@ -20,10 +23,12 @@ jobs:
20
23
# Runs a set of commands using the runners shell
21
24
- name : Call Zapier web hook to close Asana task
22
25
if : ${{ !github.event.issue.pull_request }}
26
+ env :
27
+ ISSUE_TITLE : ${{ github.event.issue.title }}
23
28
run : |
24
29
curl --location --request POST 'https://hooks.zapier.com/hooks/catch/12728683/b7009qc/' \
25
30
--header 'Content-Type: application/json' \
26
31
--header 'Accept: application/json' \
27
32
--data-raw '{
28
- "task_name" : "${{ github.event.issue.title }} "
33
+ "task_name" : "$ISSUE_TITLE "
29
34
}'
You can’t perform that action at this time.
0 commit comments