Add linear.yml GitHub workflow #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | ||
pull_request_review: | ||
types: | ||
- submitted | ||
- edited | ||
- dismissed | ||
jobs: | ||
Linear: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
steps: | ||
- 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 | ||