From d703cc2970728d0961b819df9c79f2f05f420092 Mon Sep 17 00:00:00 2001 From: Benjamin Lee <130000039+benlee0423@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:52:27 -0800 Subject: [PATCH] Create print.yml --- .github/workflows/print.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/print.yml diff --git a/.github/workflows/print.yml b/.github/workflows/print.yml new file mode 100644 index 0000000..5dc39ad --- /dev/null +++ b/.github/workflows/print.yml @@ -0,0 +1,14 @@ +name: Print Reference +on: + pull_request: + branches: [main] + +jobs: + print: + runs-on: ubuntu-latest + steps: + - name: print ref + run: | + echo "git ref: ${{github.ref}}" + echo "github source repo: ${{github.event.pull_request.head.repo.full_name}}" + echo "github.base_ref: ${{github.base_ref}}"