diff --git a/.github/workflows/only-commit-source-to-trunk.yml b/.github/workflows/only-commit-source-to-trunk.yml new file mode 100644 index 000000000..48002e023 --- /dev/null +++ b/.github/workflows/only-commit-source-to-trunk.yml @@ -0,0 +1,17 @@ +# Do not let built-in-place files be comitted to `main` branch +name: Lint +on: [push] +# on: +# push: +# branches: +# - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Lint (Directories) + uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: npm run lint:dirs