Skip to content

ci: fix github.base_ref for merge_groups #1

ci: fix github.base_ref for merge_groups

ci: fix github.base_ref for merge_groups #1

Workflow file for this run

name: ref-print
on:
pull_request:
merge_group:
jobs:
ref-print:
runs-on: ubuntu-latest
steps:
- name: github.base_ref
run: echo github.base_ref=${{ github.base_ref }}
- name: github.merge_group.base_ref
run: echo github.event.merge_group.base_ref=${{ github.event.merge_group.base_ref }}
- name: fail-if
if: github.event_name != 'merge_group'
run: "false"