Skip to content

Commit

Permalink
build: Rework workflow triggers.
Browse files Browse the repository at this point in the history
  • Loading branch information
nzdjb committed Oct 5, 2023
1 parent 78ffd70 commit d278cc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Build
on:
push:
branches-ignore: [main]
pull_request:
types:
- opened
branches:
- 'release-please-*'
jobs:
build:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Release Please
on:
push:
workflow_run:
branches: [main]
workflows: [Build]
types:
- completed

permissions:
contents: write
Expand All @@ -19,9 +22,6 @@ jobs:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install --immutable
- run: yarn lint
- run: yarn build
- run: yarn test
- uses: google-github-actions/release-please-action@v3
id: release
with:
Expand Down

0 comments on commit d278cc6

Please sign in to comment.