diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2da1844..2ce6372 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - "feature/**" pull_request: jobs: @@ -19,12 +18,3 @@ jobs: with: node-version: 22 - run: npm test - - core-swift: - runs-on: macos-14 - defaults: - run: - working-directory: sonicflow_app/core-swift - steps: - - uses: actions/checkout@v6 - - run: swift test diff --git a/.github/workflows/linear-done-automerge.yml b/.github/workflows/linear-done-automerge.yml index ee23493..e3bd0db 100644 --- a/.github/workflows/linear-done-automerge.yml +++ b/.github/workflows/linear-done-automerge.yml @@ -1,13 +1,14 @@ name: Linear Done Auto-Merge on: - schedule: - - cron: "*/15 * * * *" workflow_dispatch: +env: + LINEAR_API_TOKEN: ${{ secrets.LINEAR_API_TOKEN }} + jobs: automerge: - if: ${{ secrets.LINEAR_API_TOKEN != '' }} + if: ${{ env.LINEAR_API_TOKEN != '' }} runs-on: ubuntu-latest permissions: contents: write @@ -16,6 +17,5 @@ jobs: - uses: actions/checkout@v6 - name: Merge open PRs whose Linear ticket is Done env: - LINEAR_API_TOKEN: ${{ secrets.LINEAR_API_TOKEN }} GITHUB_TOKEN: ${{ github.token }} run: node scripts/linear/automerge_done_tickets.mjs diff --git a/.github/workflows/linear-pr-sync.yml b/.github/workflows/linear-pr-sync.yml index 00df830..616fe6f 100644 --- a/.github/workflows/linear-pr-sync.yml +++ b/.github/workflows/linear-pr-sync.yml @@ -4,9 +4,12 @@ on: pull_request: types: [opened, reopened, synchronize, ready_for_review, converted_to_draft, closed] +env: + LINEAR_API_TOKEN: ${{ secrets.LINEAR_API_TOKEN }} + jobs: linear-pr-sync: - if: ${{ secrets.LINEAR_API_TOKEN != '' }} + if: ${{ env.LINEAR_API_TOKEN != '' }} runs-on: ubuntu-latest permissions: contents: read @@ -14,6 +17,4 @@ jobs: steps: - uses: actions/checkout@v6 - name: Sync Linear state from PR event - env: - LINEAR_API_TOKEN: ${{ secrets.LINEAR_API_TOKEN }} run: node scripts/linear/pr_state_sync.mjs