From 1c3d9456a1b7abe9f302a8ef4c5ee64f85ff91e9 Mon Sep 17 00:00:00 2001 From: Charly Molter Date: Mon, 6 Jan 2025 18:02:47 +0100 Subject: [PATCH] even more fixes Signed-off-by: Charly Molter --- .github/workflows/pr-modification.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-modification.yaml b/.github/workflows/pr-modification.yaml index 205c3d805d5c..47db64653b79 100644 --- a/.github/workflows/pr-modification.yaml +++ b/.github/workflows/pr-modification.yaml @@ -25,8 +25,13 @@ jobs: echo "out=$(gh api /repos/${{ github.repository }}/contents/active-branches.json --jq '.content | @base64d')" >> $GITHUB_OUTPUT - id: get-recent-prs run: | - prs=$(gh pr list --json number,title,url --search "updated:>=$(date --date='${{ env.LOOK_BACK }} ago' +'%Y-%m-%dT%H:%M:%S%z') -author:app/github-actions -author:dependabot") + prs=$(gh pr list -R ${{ github.repository }} --json number,title,url --search "updated:>=$(date --date='${{ env.LOOK_BACK }} ago' +'%Y-%m-%dT%H:%M:%S%z') -author:app/github-actions -author:dependabot") echo "out=$prs" >> $GITHUB_OUTPUT + - run: | + echo "---recent PRs---" + echo ${{ steps.get-recent-prs.outputs.out }} + echo "---active branches---" + echo ${{ steps.active-branches.outputs.out }} pr-comment: needs: find-prs