fix #134 - include base_ref and head_ref in github context from the event json

This commit is contained in:
Casey Lee
2020-03-06 14:17:57 -08:00
parent 87392c2ed7
commit 15fb58bf43
5 changed files with 100 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
name: basic
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo '${{github.ref}}'
- run: echo '${{github.head_ref}}' | grep sample-head-ref
- run: echo '${{github.base_ref}}' | grep sample-base-ref