Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Charly Molter <[email protected]>
  • Loading branch information
lahabana committed Jan 6, 2025
1 parent de1e583 commit 62c5080
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pr-modification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ jobs:
active_branches: ${{ steps.active-branches.outputs.out }}
steps:
- id: active-branches
name: Get active branches
run: |
echo "out<<EOF"
gh api /repos/${{ github.repository }}/contents/active-branches.json --jq '.content | @base64d'
echo "out<<EOF" >> $GITHUB_OUTPUT
gh api /repos/${{ github.repository }}/contents/active-branches.json --jq '.content | @base64d' >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- id: get-recent-prs
name: Get recent PRs
run: |
echo "out<<EOF"
$(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<<EOF" >> $GITHUB_OUTPUT
gh pr list -R ${{ github.repository }} --json number,title,url,author --search "updated:>=$(date --date='${{ env.LOOK_BACK }} ago' +'%Y-%m-%dT%H:%M:%S%z') -author:dependabot" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- run: |
echo "::group::recent PRs"
Expand Down

0 comments on commit 62c5080

Please sign in to comment.