Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Jun 28, 2023
1 parent 23b8114 commit 7b7253f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/closeVote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
git fetch origin '${{ steps.branch.outputs.head }}'
git reset FETCH_HEAD --mixed
git checkout HEAD -- '${{ steps.branch.outputs.head }}'
- run: npm install @aduh95/caritat
- run: npm install @node-core/caritat
- name: Attempt closing the vote
id: vote-summary
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/initiateNewVote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Reset to the base branch
run: git fetch origin HEAD && git reset FETCH_HEAD --hard
- name: Install npm dependencies
run: npm install @aduh95/caritat
run: npm install @node-core/caritat
- name: Configure git
run: |
git config --global user.email "github-bot@iojs.org"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/watchVote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run:
curl -L https://raw.githubusercontent.com/nodejs/node/main/.mailmap >>
.mailmap
- run: npm install @aduh95/caritat
- run: npm install @node-core/caritat
- name: Get PR description
id: desc
run: |
Expand Down
2 changes: 1 addition & 1 deletion votes/initiateNewVote/decryptPrivateKeyAndCloseVote.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createInterface as readLines } from "node:readline";
import { fileURLToPath } from "node:url";
import { parseArgs } from "node:util";

import countFromGit from "@aduh95/caritat/countBallotsFromGit";
import countFromGit from "@node-core/caritat/countBallotsFromGit";

const { values: parsedArgs } = parseArgs({
options: {
Expand Down
4 changes: 3 additions & 1 deletion votes/initiateNewVote/generateNewVotePR.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { open, readFile } from "node:fs/promises";
import { parseArgs } from "node:util";
import { spawn } from "node:child_process";

import generateNewVoteFolder from "@aduh95/caritat/generateNewVoteFolder";
import generateNewVoteFolder from "@node-core/caritat/generateNewVoteFolder";

import readReadme from "./extractInfoFromReadme.mjs";

Expand Down Expand Up @@ -256,6 +256,8 @@ Vote instructions:
To close the vote, at least ${shareholderThreshold} secret holder(s)[^1] must \
run the following command: ${"`"}git node vote ${prUrl} --decrypt-key-part --post-comment${"`"}
/cc @nodejs/tsc
[^1]: secret holders are folks who have access to the private key associated with \
a public key on <${keyServerURL}> that references an email address listed on the \
TSC voting member list at the time of the opening of the vote.
Expand Down
2 changes: 1 addition & 1 deletion votes/initiateNewVote/getVoteStatus.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { exit } from "node:process";
import { env } from "node:process";
import count from "@aduh95/caritat/countParticipationFromGit";
import count from "@node-core/caritat/countParticipationFromGit";

const START_MARKER = "<!-- BEGIN PARTICIPATION -->";
const END_MARKER = "<!-- END PARTICIPATION -->";
Expand Down

0 comments on commit 7b7253f

Please sign in to comment.