From 7954f92b2f274e938cc470aef23c2ca502c9955b Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 6 Dec 2024 17:01:01 +0100 Subject: [PATCH] try github.event variables as recommended here https://github.com/orgs/community/discussions/25797#discussioncomment-3249294 --- .github/workflows/push.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3d60bd52f..5e4b01bf8 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -74,6 +74,9 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: get file changes + run: | + git diff --name-only ${{ github.event.before }} ${{ github.event.after }} - name: Setup Go uses: actions/setup-go@v5