mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-07-25 16:03:15 +03:00
chore(build): re-enable builds on PR and restrict publish to master
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -119,6 +123,7 @@ jobs:
|
|||||||
run: npm run test:e2e
|
run: npm run test:e2e
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
if: github.event_name == 'push' && contains(github.ref, 'master')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build, integration, e2e]
|
needs: [build, integration, e2e]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user