Skip to content

Commit

Permalink
Stop workflows running twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Mongey committed Apr 1, 2023
1 parent 537a378 commit 3241c61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Build Snapshots
on:
push:
branches:
- '**'
- master
- main
pull_request:

jobs:
goreleaser:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: test

on:
push:
branches:
- '**'
pull_request:
branches:
- master
- main
pull_request:

jobs:
test:
Expand Down Expand Up @@ -38,6 +37,9 @@ jobs:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout=3m


acctest:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3241c61

Please sign in to comment.