Skip to content

Commit

Permalink
fix(ci): double builds on other workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DaRacci committed Sep 26, 2024
1 parent 5ae30c6 commit f4974f2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Compiler

on:
push:
branches: [ main ]
branches: [ master ]
pull_request:


Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths: ["src/**", "tests/**", "utils/**", ".github/workflows/**"]
push:
branches: [master]
paths: ["src/**", "tests/**", "utils/**", ".github/workflows/**"]

jobs:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/scan-secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Scan for Secrets

on: [pull_request, push]
on:
push:
branches: [ master ]
pull_request:

jobs:
secrets-scan:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches: [master]
paths: ["src/**", "tests/**", ".github/workflows/test-scripts.yaml"]
pull_request:
paths: ["src/**", "tests/**", ".github/workflows/test-scripts.yaml"]

jobs:
test-compiler:
Expand Down

0 comments on commit f4974f2

Please sign in to comment.