Skip to content

Add a ginkgo focus check linter #12

Add a ginkgo focus check linter

Add a ginkgo focus check linter #12

name: Checking for focused runs
on:
pull_request:
branches: [ main ]
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- '**.go'
jobs:
check-focus-target:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Running the focus check script
run: |
grep -ErnI --include="*.go" 'FIt|FDescribe|FContext|FWhen|FEntry|FDescribeTable' ./hosted && exit 1 || exit 0