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