Skip to content

Commit

Permalink
Adjust github actions to work on main branch instead of master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Aug 29, 2024
1 parent 69b3ed7 commit e97f338
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/browsers.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: End-to-end tests (playwright)
on:
push:
branches: [ main, master ]
branches: [ main ]
paths:
- 'src/**'
- 'test-e2e/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundlesize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Bundle size checks

on:
push:
branches: [ main, master ]
branches: [ main ]
paths:
- '.github/workflows/bundlesize.yml'
- 'src/scripts/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Code linting

on:
push:
branches: [ main, master ]
branches: [ main ]
paths:
- '.github/workflows/lint.yml'
- 'src/scripts/**'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Release drafter

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

jobs:
update-draft-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Unit tests

on:
push:
branches: [ main, master ]
branches: [ main ]
paths:
- '.github/workflows/unit-tests.yml'
- 'src/scripts/**'
Expand Down

0 comments on commit e97f338

Please sign in to comment.