forked from opengisch/QField
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 830 Bytes
/
documentation.yml
File metadata and controls
27 lines (27 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
name: 📜 Documentation
on:
pull_request_target:
types:
- closed
- labeled
jobs:
backport:
runs-on: ubuntu-latest
name: Create documentation task
if: contains(github.event.pull_request.labels.*.name, 'needs documentation')
steps:
- name: Create task
run: |
curl -i -X POST \
'https://api.clickup.com/api/v2/list/900400532890/task' \
-H 'Authorization: ${{ secrets.CLICKUP_TOKEN}}' \
-H 'Content-Type: application/json' \
-d '{
"name": "${{ github.context.payload.pull_request.title }}",
"description": "Coming from pull request ${{ github.context.payload.pull_request.url }}",
"tags": [
"qfield"
],
"status": "Open"
}'