File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-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+ - opened
15+ - closed
16+ - edited
17+ - synchronize
18+
19+ concurrency :
20+ group : ${{ github.workflow }}-${{ github.ref }}
21+ cancel-in-progress : true
22+
23+ jobs :
24+ Linear :
25+ runs-on : ubuntu-latest
26+ timeout-minutes : 3
27+ permissions :
28+ contents : read
29+ pull-requests : write
30+
31+ steps :
32+ - uses : mobsuccess-devops/github-actions-linear@master
33+ id : check-pr-title-compliance
34+ if : github.event.pull_request.draft == false
35+ with :
36+ action : check-pr-title-compliance
37+ linearApiKey : ${{ secrets.LINEAR_API_KEY }}
38+ githubToken : ${{ secrets.GITHUB_TOKEN }}
39+
40+ - uses : mobsuccess-devops/github-actions-linear@master
41+ if : github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'closed')
42+ with :
43+ action : create-linear-issue-from-bot-pr
44+ linearApiKey : ${{ secrets.LINEAR_API_KEY }}
45+ githubToken : ${{ secrets.GITHUB_TOKEN }}
46+
47+ - uses : mobsuccess-devops/github-actions-linear@master
48+ with :
49+ action : check-linear-state
50+ linearApiKey : ${{ secrets.LINEAR_API_KEY }}
51+ githubToken : ${{ secrets.GITHUB_TOKEN }}
52+ # DO NOT EDIT: END
You can’t perform that action at this time.
0 commit comments