diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index e4a94ee1..13e98bf7 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -23,5 +23,5 @@ jobs: run: | echo "::add-matcher::.github/actionlint-matcher.json" bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) - ./actionlint -color -ignore 'key ".+" is duplicated in "on" section' + ./actionlint -color shell: bash diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index b86a9dc3..c8e7e6a9 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -5,19 +5,13 @@ on: branches: - main paths: - - "client/**" - - "packages/**" - - ".github/workflows/client-dev.yml" + - '.github/workflows/client-dev.yml' + - 'client/**' + - 'packages/**' push: branches: - main - paths: - - "client/**" - - "packages/**" - - ".github/workflows/client-dev.yml" - - push: tags: - "v*" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 92644d64..1a5324f1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,12 +10,6 @@ on: push: branches: - main - paths: - - '.github/workflows/docs.yml' - - 'docs/**' - - 'packages/**' - - push: tags: - "v*" diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 726c6fef..8a5f0d83 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -9,38 +9,10 @@ on: push: branches: - main - paths: - - '.github/workflows/server.yml' - - 'server/**' - - push: tags: - "v*" jobs: - changes: - name: Check for changes - runs-on: ubuntu-latest - outputs: - workflows-changed: ${{ steps.changes.outputs.workflows-changed }} - go-changed: ${{ steps.changes.outputs.go-changed }} - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Go to server directory - run: cd server - - - name: Check if workflow files changed - uses: dorny/paths-filter@v2 - id: changes - with: - filters: | - go-changed: - - 'go.mod' - - 'go.sum' - - '**.go' - lint: name: Lint runs-on: ubuntu-latest