try github.event variables

as recommended here https://github.com/orgs/community/discussions/25797#discussioncomment-3249294
This commit is contained in:
Denis Bilenko 2024-12-06 17:01:01 +01:00
parent ce6883001e
commit 7954f92b2f
1 changed files with 3 additions and 0 deletions

View File

@ -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