Skip to content

Commit

Permalink
Fix(ci): Run workflows only on push to branches
Browse files Browse the repository at this point in the history
  * pushing new tags caused hell becuase the workflows were run for every tag pushed
  • Loading branch information
literat committed Oct 4, 2024
1 parent 7aac16d commit 2e0b77e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Build

on:
# Run this workflow on push to branches only (not tags)
push:
branches:
- '**'
paths:
- packages/design-tokens/**
- packages/icons/**
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/markdown-link-check.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Markdown Link Check

on:
# Run this workflow on push to branches only (not tags)
push:
branches:
- '**'
schedule:
- cron: '0 9 * * *' # every day at 9:00

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-web-twig.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: 'Web Twig: Code Quality Checks'

on:
# Run this workflow on push to branches only (not tags)
push:
branches:
- '**'
paths:
- packages/web-twig/**
# Changes in SVG icons also affect snapshots in web-twig package
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Code Quality Checks

on:
# Run this workflow on push to branches only (not tags)
push:
branches:
- '**'
schedule:
- cron: '0 9 * * *' # every day at 9:00

Expand Down

0 comments on commit 2e0b77e

Please sign in to comment.