Skip to content

[TT-13381] Linters should only work for PRs #333

[TT-13381] Linters should only work for PRs

[TT-13381] Linters should only work for PRs #333

Workflow file for this run

# yamllint disable rule:truthy
---
name: CI lint
# API Changes (godoc) and JIRA validation only apply to PRs.
# Branches are not important, supports chaining PRs.
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
godoc:
if: ${{ !github.event.pull_request.draft }}
uses: TykTechnologies/github-actions/.github/workflows/godoc.yml@main
secrets:
ORG_GH_TOKEN: ${{ secrets.ORG_GH_TOKEN }}
with:
go-version: stable
jira:
if: ${{ !github.event.pull_request.draft }}
uses: TykTechnologies/github-actions/.github/workflows/jira-lint.yaml@main
secrets:
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
ORG_GH_TOKEN: ${{ secrets.ORG_GH_TOKEN }}