Skip to content

Commit

Permalink
actually checkout the PR's branch when checking for unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
maltfield committed Aug 8, 2024
1 parent 6fd79a0 commit 171816a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/unicode_warn.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################################
# File: .github/workflows/unicode_warn.yml
# Version: 0.5
# Version: 0.6
# Purpose: Detects Unicode in PRs and comments the results of findings in PR
# Authors: Michael Altfield <[email protected]>
# Created: 2021-11-20
Expand Down Expand Up @@ -62,7 +62,8 @@ jobs:
git config --global --add safe.directory "$(pwd)"
git branch -a
git log
git checkout ${{ github.event.pull_request.head.ref }}
git fetch origin refs/pull/${{ github.event.number }}/head:this_pr
git checkout this_pr
git branch -a
git log
Expand Down

0 comments on commit 171816a

Please sign in to comment.