Skip to content

Commit

Permalink
remove variable default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
beuluis committed Feb 19, 2023
1 parent 9089b0d commit aa58b39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/next-npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- ${{ github.event.repository.default_branch }}
- main

# TODO: use np for release template. basically it should be possible to use 1.4.1 as next version and then later tag it and release
jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/prod-npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: 'Publish pack with latest dist-tag'

on:
release:
types: [created]
types:
- created

jobs:
testing:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qa-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
workflow_call:
push:
branches:
- ${{ github.event.repository.default_branch }}
- main
pull_request:
branches:
- ${{ github.event.repository.default_branch }}
- main

jobs:
testing:
Expand Down

0 comments on commit aa58b39

Please sign in to comment.