Skip to content

Commit

Permalink
Merge branch 'master' into feature/gh-action2
Browse files Browse the repository at this point in the history
  • Loading branch information
danimtb committed Oct 4, 2023
2 parents 7cbc3a3 + b87cdb9 commit c759818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/prs_user_limit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ runs:
user_open_prs = [p for p in open_prs if p.user.login == username]
# Check the number of open PRs and the specified limit
limit = int(os.environ["limit"])
limit = int(${{ github.event.inputs.limit }})
if len(user_open_prs) >= limit:
# Post a comment on the current pull request if the limit is reached
comment_text = "${{ github.event.inputs.limit }}"
comment_text = "${{ github.event.inputs.comment }}"
pr.create_issue_comment(comment_text)

0 comments on commit c759818

Please sign in to comment.