-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (42 loc) · 1.19 KB
/
linear.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# DO NOT EDIT: BEGIN
# This snippet has been inserted automatically by mobsuccessbot, do not edit!
# If changes are needed, update the action linear in
# https://github.com/mobsuccess-devops/github-mobsuccess-policy
name: Linear
on:
merge_group:
types:
- checks_requested
pull_request:
types:
- assigned
- unassigned
- review_requested
- review_request_removed
- opened
- synchronize
- closed
- edited
- converted_to_draft
- ready_for_review
jobs:
Linear:
runs-on: ubuntu-latest
timeout-minutes: 3
permissions:
contents: read
pull-requests: write
steps:
- uses: mobsuccess-devops/github-actions-linear@master
id: check-pr-title-compliance
if: github.event.pull_request.draft == false
with:
action: check-pr-title-compliance
linearApiKey: ${{ secrets.LINEAR_API_KEY }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: mobsuccess-devops/github-actions-linear@master
with:
action: check-linear-state
linearApiKey: ${{ secrets.LINEAR_API_KEY }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
# DO NOT EDIT: END