Skip to content

Commit

Permalink
Update .github/scripts/vote_tracker.js
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
  • Loading branch information
AayushSaini101 and derberg committed Jul 17, 2024
1 parent daf62e4 commit 1a0b934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/scripts/vote_tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ module.exports = async ({ context }) => {

// Parse the vote-closed comment created by git-vote[bot]
// No need to look for "Vote closed" as this is already validated by the workflow that runs this code
// No need to look for "Vote closed" as this is already validated by the workflow that runs this code
async function parseVoteClosedComment() {
const bindingVotesSectionMatch = message.match(/Binding votes \(\d+\)[\s\S]*?(?=(<details>|$))/);
const bindingVotesSection = bindingVotesSectionMatch ? bindingVotesSectionMatch[0] : '';
Expand Down

0 comments on commit 1a0b934

Please sign in to comment.