mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-07 07:06:56 +00:00
chore(build): re-enable builds on PR and restrict publish to master
This commit is contained in:
parent
ab4dc55b2e
commit
7a9634236c
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -1,4 +1,8 @@
|
|||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -119,6 +123,7 @@ jobs:
|
|||
run: npm run test:e2e
|
||||
|
||||
publish:
|
||||
if: github.event_name == 'push' && contains(github.ref, 'master')
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build, integration, e2e]
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue