Skip to content

Commit

Permalink
chore(ci): avoid double build and lint on pr
Browse files Browse the repository at this point in the history
lsagetlethias committed Jan 16, 2025
1 parent 38bae39 commit b720ca2
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build

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

concurrency:
cancel-in-progress: true
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Lint

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

concurrency:
cancel-in-progress: true

0 comments on commit b720ca2

Please sign in to comment.