From cd163f020c99d9eab65109d17e330c2f781caead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Tue, 26 May 2020 18:28:19 +0200 Subject: [PATCH] Fix linter in CI It turns out that YAML anchors are not supported https://github.com/cli/cli/actions/runs/115915028 --- .github/workflows/lint.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 056cfe9a625..eed4850e554 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,12 +1,15 @@ name: Lint on: - push: &paths + push: paths: - "**.go" - go.mod - go.sum pull_request: - <<: *paths + paths: + - "**.go" + - go.mod + - go.sum jobs: lint: