fix saving of comment ids to disk (#221)

See the failure here https://github.com/dart-lang/build/actions/runs/7463208455/job/20307339352?pr=3638#step:9:3.

Changes `findCommentId` to again return an `int?` instead of an `IssueComment?`.

Alternatively, we could rename this to `findComment`, and return the entire comment, but we only ever use the ID.

We just call `toString()` on the return value of this function and serialize it to disk, so when it changed to an `IssueComment` it no longer serialized the ID. 
4 files changed
tree: 9a7b758ec8586ef0ad8d173396c65046fbdfaa6a
  1. .github/
  2. .vscode/
  3. pkgs/
  4. tool/
  5. .gitattributes
  6. .gitignore
  7. CONTRIBUTING.md
  8. LICENSE
  9. mono_repo.yaml
  10. README.md
README.md

Dart CI

Overview

This repository is home to general Dart Ecosystem tools and packages.

Packages

PackageDescriptionVersion
blast_repoA tool to bulk validate and fix GitHub repos.
corpusA tool to calculate the API usage for a package.
dart_flutter_team_lintsAn analysis rule set used by the Dart and Flutter teams.pub package
firehoseA tool to automate publishing of Pub packages from GitHub actions.pub package
repo_manageMiscellaneous issue, repo, and PR query tools.

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.