This repository was archived by the owner on Jan 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ # DO NOT EDIT: BEGIN
2
+ # This snippet has been inserted automatically by mobsuccessbot, do not edit!
3
+ # If changes are needed, update the action linear in
4
+ # https://github.com/mobsuccess-devops/github-mobsuccess-policy
5
+ name : Linear
6
+
7
+ on :
8
+ merge_group :
9
+ types :
10
+ - checks_requested
11
+
12
+ pull_request :
13
+ types :
14
+ - assigned
15
+ - unassigned
16
+ - review_requested
17
+ - review_request_removed
18
+ - opened
19
+ - synchronize
20
+ - closed
21
+ - edited
22
+ - converted_to_draft
23
+ - ready_for_review
24
+
25
+ jobs :
26
+ Linear :
27
+ runs-on : ubuntu-latest
28
+ timeout-minutes : 3
29
+ permissions :
30
+ contents : read
31
+ pull-requests : write
32
+
33
+ steps :
34
+ - uses : mobsuccess-devops/github-actions-linear@master
35
+ id : check-pr-title-compliance
36
+ if : github.event.pull_request.draft == false
37
+ with :
38
+ action : check-pr-title-compliance
39
+ linearApiKey : ${{ secrets.LINEAR_API_KEY }}
40
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
41
+
42
+ - uses : mobsuccess-devops/github-actions-linear@master
43
+ if :
44
+ github.event_name == 'pull_request' && github.event.action == 'opened'
45
+ with :
46
+ action : create-linear-issue-from-bot-pr
47
+ linearApiKey : ${{ secrets.LINEAR_API_KEY }}
48
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
49
+
50
+ - uses : mobsuccess-devops/github-actions-linear@master
51
+ with :
52
+ action : check-linear-state
53
+ linearApiKey : ${{ secrets.LINEAR_API_KEY }}
54
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
55
+ # DO NOT EDIT: END
You can’t perform that action at this time.
0 commit comments