Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linear.yml GitHub workflow #47

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/linear.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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