Skip to content

Commit 8b375d3

Browse files
authored
Merge branch 'main' into major_release_5.0.0
2 parents 37c0c6e + 1a726ca commit 8b375d3

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/Zapier.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
permissions:
12+
issues: read
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
build:
18+
# The type of runner that the job will run on
19+
runs-on: ubuntu-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Runs a set of commands using the runners shell
24+
- name: Call Zapier web hook to close Asana task
25+
if: ${{ !github.event.issue.pull_request }}
26+
env:
27+
ISSUE_TITLE: ${{ github.event.issue.title }}
28+
run: |
29+
curl --location --request POST 'https://hooks.zapier.com/hooks/catch/12728683/b7009qc/' \
30+
--header 'Content-Type: application/json' \
31+
--header 'Accept: application/json' \
32+
--data-raw '{
33+
"task_name" : "$ISSUE_TITLE"
34+
}'

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,4 @@ let package = Package(
163163
checksum: "c98dc8c807767126fb88bb7257206618c333bf9cb3bbf5582c828f1ffb167436"
164164
)
165165
]
166-
)
166+
)

0 commit comments

Comments
 (0)