Skip to content

Commit

Permalink
Update update_json_date.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MickLesk authored Jan 16, 2025
1 parent f517624 commit 393f6d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update_json_date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ jobs:
- name: Checkout PR Branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
ref: ${{ github.event.pull_request.base.ref }}

- name: Fetch PR changes
run: |
git remote add fork https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git
git fetch fork ${{ github.event.pull_request.head.ref }}:pullreq
git checkout pullreq
- name: Update JSON
id: changed-files
Expand Down

0 comments on commit 393f6d7

Please sign in to comment.