Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Nov 30, 2023
1 parent 539b3fa commit 1bce50a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_authors.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

EMAILS=$(git log $1 --pretty=format:"%ae" | sort | uniq)
EMAILS=$(git log $1 --pretty=format:"%ae" | sort | uniq | head -n 10)

echo "Emails: $EMAILS"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-author-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT_PATH: ${{ github.event_path }}
run: |
git fetch origin ${{ github.base_ref }} --depth 1
git fetch origin ${{ github.head_ref }} --depth 1
sh -x .github/workflows/check_authors.sh "${{ github.base_ref }}..${{ github.head_ref }}"
# git fetch origin ${{ github.base_ref }} --depth 1
# git fetch origin ${{ github.head_ref }} --depth 1
sh -x .github/workflows/check_authors.sh "origin/${{ github.base_ref }}..origin/${{ github.head_ref }}"

0 comments on commit 1bce50a

Please sign in to comment.