Skip to content

Commit

Permalink
Merge pull request #2187 from habibayassin/pr-update-rules
Browse files Browse the repository at this point in the history
GHA: checkout pr update rules
  • Loading branch information
vvbandeira authored Jul 25, 2024
2 parents 1a764f2 + 0870faf commit 4506dd0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/github-actions-update-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
ref: ${{ github.event.client_payload.branch }}
- name: Git prep
run: |
git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"
git fetch
git checkout ${{ github.event.client_payload.branch }}
- uses: actions/setup-python@v4
with:
python-version: "3.10"
Expand Down

0 comments on commit 4506dd0

Please sign in to comment.