message: workflows: changeset feedback no longer breaks when changesets are removed
diff: @@ -80,12 +80,13 @@ async function listPackages() {
  }));
  }
  -async function parseChangesets(filePaths) {
  +async function loadChangesets(filePaths) {
  const changesets = [];
  for (const filePath of filePaths) {
  if (!filePath.startsWith('.changeset/') || !filePath.endsWith('.md')) {
  continue;
  }
  + try {
  const content = await fs.promises.readFile(filePath, 'utf8');
  let lines = content.split(/\r?\n/);
  @@ -109,6 +110,11 @@ async function parseChangesets(filePaths) {
  filePath,
  bumps,
  });
  + } catch (error) {
  + if (error.code !== 'ENOENT') {
  + throw error;
  + }
  + }
  }
  return changesets;
  @@ -247,7 +253,7 @@ async function main() {
  const changedFiles = await listChangedFiles(diffRef);
  const packages = await listPackages();
  - const changesets = await parseChangesets(changedFiles);
  + const changesets = await loadChangesets(changedFiles);
  const changedPackages = await listChangedPackages(changedFiles, packages);
  process.stderr.write(
  