Skip to content

Commit

Permalink
Validate GH action only on PR (#339)
Browse files Browse the repository at this point in the history
It seems `{ github.base_ref }` value does not work for push event.
It is enough to validate when PR is sent so this patch drops the push.

Co-authored-by: Kenjiro Nakayama <[email protected]>
  • Loading branch information
openshift-cherrypick-robot and nak3 authored Jun 6, 2023
1 parent 03cf72c commit e44a0b4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
name: Validate

on:
push:
branches:
- '**'
tags:
- 'v*.*.*'
pull_request:
branches:
- '**'
Expand Down

0 comments on commit e44a0b4

Please sign in to comment.