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