Skip to content

Commit

Permalink
ci: revert multiple push events
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed Mar 4, 2024
1 parent 107425d commit 398d051
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 3 additions & 9 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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*"

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ on:
push:
branches:
- main
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
- 'packages/**'

push:
tags:
- "v*"

Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 398d051

Please sign in to comment.