Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Sep 22, 2023
1 parent 4dffc74 commit a7f2fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
id: prs
# Auto approve PRs that are 20 days old, for security
run: |
gh pr list --repo ${{ github.repository }} --json number,createdAt,author --label "dependencies" --state open --jq '.[] | select(.author.login == "dependabot" and (.createdAt | fromdateiso8601) < (now - (15))) | .number'
prs=$(gh pr list --repo ${{ github.repository }} --json number,createdAt,author --label "dependencies" --state open --jq '.[] | select(.author.login == "dependabot" and (.createdAt | fromdateiso8601) < (now - (15))) | .number')
echo "prs=$prs"
echo "prs=$prs" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit a7f2fd1

Please sign in to comment.