openelections / openelections-data-us

Pre-processed nationwide election results for contests (president, congress, governor)
4 stars 5 forks source link

Add workflows for automated pull request comments #20

Closed warwickmm closed 1 year ago

warwickmm commented 1 year ago

This adds two new workflows to support automated pull request comments.

  1. The "Data Tests (Changed Files)" workflow runs the data tests only on newly added files in a pull request.
  2. The "Comment on Pull Request" workflow will add comments to the pull request notifying the submitter of any potential issues in the newly added files.

This also bumps the version of the "Data Tests" workflow to be consistent with the new "Data Tests (Changed Files)" workflow.