-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.14 KB
/
test.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- id: attachments-test
uses: nSimonFR/linear-move-action@main
with:
accessToken: ${{ secrets.LINEAR_ACCESS_TOKEN }}
to: "In Progress, Review"
attachments: https://example.com
dry: true
- if: contains(steps.attachments-test.outputs.links, 'PLA-32') == false
run: exit 1
- id: terms-test
uses: nSimonFR/linear-move-action@main
with:
accessToken: ${{ secrets.LINEAR_ACCESS_TOKEN }}
to: "In Progress, Review"
terms: "TEST LINEAR AUTOMATION,anotherterm"
separator: ","
dry: true
- if: contains(steps.terms-test.outputs.links, 'PLA-32') == false
run: exit 1
- id: urls-test
uses: nSimonFR/linear-move-action@main
with:
accessToken: ${{ secrets.LINEAR_ACCESS_TOKEN }}
to: "In Progress, Review"
urls: "https://linear.app/trusk/issue/PLA-32"
separator: ","
dry: true
- if: contains(steps.urls-test.outputs.links, 'PLA-32') == false
run: exit 1