summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2020-06-02 00:05:13 -0600
committerTodd Rinaldo <toddr@cpan.org>2020-06-02 15:21:34 -0500
commit35ad6cb929aafc00a8fd96d4ff1a0a2488eb247e (patch)
tree54ae9d72531f6d27e577d76fb3664667b2267f43 /.github
parentc5ba364195dce3d9a50978015c43e8e0f073f08e (diff)
downloadperl-35ad6cb929aafc00a8fd96d4ff1a0a2488eb247e.tar.gz
Ajust authors logic
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index 9fd32b055a..30c9f51d39 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -28,12 +28,18 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1000
- - name: Involved authors
+ - name: git setup
run: |
echo "Pull request authors"
echo "# git merge-base origin/${BASE_REF} HEAD"
- branch_off=$(git merge-base origin/${BASE_REF} HEAD)
- git log --pretty=format:"Author: %an <%ae>" $branch_off..${SHA}^2 | sort -u
+ git remote set-url origin "https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY"
+ git config diff.renameLimit 999999
+ git fetch --depth=1000 origin ${BASE_REF}
+ env:
+ BASE_REF: ${{ github.base_ref }}
+ - name: Involved authors
+ run: |
+ git log --pretty=format:"Author: %an <%ae>" origin/${BASE_REF}...${SHA}^2 | sort -u
env:
BASE_REF: ${{ github.base_ref }}
SHA: ${{ github.sha }}
@@ -86,7 +92,7 @@ jobs:
# alternatively could upload an artifact file and abort...
check_extended_testing:
- name: "EXTENDED_TESTING set?"
+ name: "Run EXTENDED_TESTING"
runs-on: ubuntu-latest
steps: