You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before the commit this configuration would work as expected:
name: comment-on-pr example
on: pull_request
jobs:
example:
name: sample comment
runs-on: ubuntu-latest
steps:
- name: comment PR
uses: unsplash/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: "Check out this message!"
check_for_duplicate_msg: true
The expectation being: no duplicate "Check out this message!" comment will be posted in the PR if one exists.
However, after the commit, the above configuration WILL ALWAYS post a "Check out this message!" comment even if it already exists on the PR. Please fix this regression because it's really annoying and beats the point of having a check_for_duplicate_msg configuration in the first place, since it breaks it.
A workaround would be to duplicate the msg into the new "optional" duplicate_msg_pattern. The "optional" is in quotes because it's not really optional, it's now required for check_for_duplicate_msg to work at all.
The text was updated successfully, but these errors were encountered:
pretzelhammer
changed the title
Regression introduced in commit 9aac0ab874c140608e0bde6edbb8df09625366c6
Regression introduced in commit 9aac0ab
May 18, 2022
pretzelhammer
changed the title
Regression introduced in commit 9aac0ab
Regression introduced in commit 9aac0ab: check_for_duplicate_msg now broken
May 18, 2022
pretzelhammer
changed the title
Regression introduced in commit 9aac0ab: check_for_duplicate_msg now broken
Regression introduced in commit 9aac0ab: check_for_duplicate_msg now broken, duplicate_msg_pattern is non-optional
May 19, 2022
@jeffreyguenther made this commit which introduced a regression.
Before the commit this configuration would work as expected:
The expectation being: no duplicate "Check out this message!" comment will be posted in the PR if one exists.
However, after the commit, the above configuration WILL ALWAYS post a "Check out this message!" comment even if it already exists on the PR. Please fix this regression because it's really annoying and beats the point of having a
check_for_duplicate_msg
configuration in the first place, since it breaks it.A workaround would be to duplicate the
msg
into the new "optional"duplicate_msg_pattern
. The "optional" is in quotes because it's not really optional, it's now required forcheck_for_duplicate_msg
to work at all.The text was updated successfully, but these errors were encountered: