Skip to content

Commit 4fa0399

Browse files
authored
Merge pull request #46 from OneSignal/api
Dependency Update
2 parents 2f8a98e + 6aac5ac commit 4fa0399

File tree

3 files changed

+34
-5
lines changed

3 files changed

+34
-5
lines changed

.github/workflows/Zapier.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
}'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"prepare": "npm run build"
2222
},
2323
"dependencies": {
24-
"@types/node": "^18.11.17",
24+
"@types/node": "^18.11.18",
2525
"@types/node-fetch": "^2.5.7",
2626
"btoa": "^1.2.1",
2727
"es6-promise": "^4.2.4",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"@types/node" "*"
1111
form-data "^3.0.0"
1212

13-
"@types/node@*", "@types/node@^18.11.17":
14-
version "18.11.17"
15-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.17.tgz#5c009e1d9c38f4a2a9d45c0b0c493fe6cdb4bcb5"
16-
integrity sha512-HJSUJmni4BeDHhfzn6nF0sVmd1SMezP7/4F0Lq+aXzmp2xm9O7WXrUtHW/CHlYVtZUbByEvWidHqRtcJXGF2Ng==
13+
"@types/node@*", "@types/node@^18.11.18":
14+
version "18.11.18"
15+
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f"
16+
integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==
1717

1818
"@types/url-parse@1.4.4":
1919
version "1.4.4"

0 commit comments

Comments
 (0)