act/pkg/runner/testdata/pull-request/main.yaml

10 lines
248 B
YAML

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