diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d393490..0fd6ca3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,8 @@ -name: CI +name: Lint Test Build on: push: + branches-ignore: [main] jobs: check-lint-test-build: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 718062a..0f3a8d3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,27 +1,23 @@ name: Publish on: - workflow_run: - workflows: [CI] - types: [completed] + push: branches: [main] jobs: publish: - if: github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v6 with: - ref: ${{ github.event.workflow_run.head_sha }} fetch-depth: 0 - name: Detect changed packages id: changes uses: dorny/paths-filter@v3 with: - base: HEAD^ + base: ${{ github.event.before || 'HEAD^' }} filters: | utils: - 'packages/utils/**'