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