diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7578799b..6e8a47e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,8 +61,8 @@ jobs: needs: validate runs-on: ubuntu-latest if: > - github.event_name == 'push' && github.repository == - 'testing-library/user-event' && + github.event_name == 'push' && + github.repository == 'testing-library/user-event' && contains('refs/heads/main,refs/heads/beta,refs/heads/alpha', github.ref) steps: - name: ⬇️ Checkout repo diff --git a/lint-staged.config.js b/lint-staged.config.js index 5b4017f7..8e46689b 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1,5 +1,5 @@ module.exports = { - '*.+(json|yml|yaml|css|less|scss|md|gql|graphql|mdx|vue)': [ + '*.+(json|css|less|scss|md|gql|graphql|mdx|vue)': [ `kcd-scripts format`, ], '*.+(js|jsx|mjs|cjs|ts|tsx|mts|cts)': [