Skip to content

Releases: sturdy-dev/codeball-action

v2.6.0

12 Sep 14:24
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.1...v2.6.0

v2.5.1

08 Sep 12:33
Compare
Choose a tag to compare

What's Changed

  • Codeball now exposes it's previously internal-only confidence score. It's a number in the inclusive range of 0 to 1. The closer the number is to 1, the more likely Codeball thinks that the PR is to get approved as-is without intervention or requiring additional changes.
  • The "approve" actions are now configured happen if the confidence is above 0.935.
  • Codeball now adds the label codeball:needs-careful-review to PRs where the confidence is below 0.300.
  • Codeball adds the label codeball:needs-review for PRs where the confidence is between 0.300 and 0.935 (opt-in).
  • The thresholds for approving and needs-careful-review are user configurable through the action

Full Changelog: v2.4.2...v2.5.1

v2.4.2

05 Sep 14:39
Compare
Choose a tag to compare

What's Changed

  • Create dependabot.yml by @zegl in #74
  • build(deps-dev): bump @typescript-eslint/parser from 5.26.0 to 5.36.0 by @dependabot in #75
  • build(deps-dev): bump eslint-plugin-github from 4.3.6 to 4.3.7 by @dependabot in #77
  • build(deps-dev): bump typescript from 4.6.4 to 4.8.2 by @dependabot in #79
  • build(deps-dev): bump @types/node from 16.11.36 to 18.7.14 by @dependabot in #78
  • build(deps-dev): bump ts-jest from 28.0.3 to 28.0.8 by @dependabot in #76
  • Update README.md by @zegl in #80

New Contributors

Full Changelog: v2.4.1...v2.4.2

v2.4.1

30 Aug 07:43
Compare
Choose a tag to compare

What's Changed

  • approver: remove hr from messages by @zegl in #71
  • all: update GitHub API dependencies by @zegl in #73

Full Changelog: v2.4.0...v2.4.1

v2.4.0

18 Aug 12:08
Compare
Choose a tag to compare

Codeball Suggester!

Introducing Codeball Suggester. Use Codeball to turn comments into code!

Enable the suggester by:

  1. Updating the codeball.yml to include the pull_request_review_comment trigger (example):
on:
  pull_request: {}
  pull_request_review_comment:
    types: [created, edited]
  1. Set codeSuggestionsFromComments to "true":
      - name: Codeball
        uses: sturdy-dev/codeball-action@v2
        with:
          approvePullRequests: "true"
          labelPullRequestsWhenApproved: "true"
          labelPullRequestsWhenReviewNeeded: "false"
          failJobsWhenReviewNeeded: "false"
          codeSuggestionsFromComments: "true"

What's Changed

  • readme: add permissions debugging guide by @zegl in #56
  • labeler: fix typo by @zegl in #59
  • Suggester by @ngalaiko in #57
  • features: setup feature flags by @zegl in #58
  • suggester: use to_line by @ngalaiko in #60
  • suggester: fixes by @ngalaiko in #61
  • suggester: remove newline at end of suggestion by @zegl in #62
  • suggester: format fix by @ngalaiko in #63
  • Revert "suggester: format fix" by @ngalaiko in #64
  • status: expose job type by @zegl in #65
  • suggester: ignore errors if attempted to comment on a line outside of the diff by @zegl in #68
  • action: add suggestions to the default composite action by @zegl in #66
  • suggester: fix existence check by @ngalaiko in #69
  • suggester: treat null and undefined as the same in eq check by @zegl in #70
  • readme: updates for codeball suggester by @zegl in #67

Full Changelog: v2.3.0...v2.4.0

v2.3.0

01 Aug 12:35
928c52a
Compare
Choose a tag to compare

What's Changed

  • Approver now can send server-side defined messages by @ngalaiko

Full Changelog: v2.2.0...v2.3.0

v2.2.0

21 Jun 11:10
8f68c30
Compare
Choose a tag to compare

What's Changed

  • Fixes to Labeler action to handle errors from Github API (for example when label doesn't exist) by @zegl
  • Labeler and Approver actions now fallback to server-side requests to Github API (using app installation token) in cases when Github Actions token lacks necessary permissions by @ngalaiko

Full Changelog: v2.1.0...v2.2.0

v2.1.0

14 Jun 09:03
Compare
Choose a tag to compare

What's Changed

  • Added example: fail on not approved by @ngalaiko in #22
  • Add summary with link to dashboard by @krlvi in #28
  • Add dashboard link to the Codeball approve message by @krlvi in #35
  • Add feature flags to the composite action by @krlvi in #36 and #37

Full Changelog: v2.0.1...v2.1.0

v2.0.1

02 Jun 19:58
Compare
Choose a tag to compare

What's Changed

  • Add explanation of permissions to the README by @zegl in #9
  • Failsafe on invalid permissions by @zegl in #11
  • Make the action testable by @zegl in #12
  • Split actions into smaller steps by @zegl in #13
  • Action V2 by @zegl in #14
  • Update README to better describe how Codeball works by @krlvi in #16
  • Fix the workflow for usage with ACT and on GitHub by @zegl in #18
  • Refactor by @ngalaiko in #17
  • Anonymous usage statistics by @zegl in #20
  • Improve
    layouting in Safari by @zegl in #21

New Contributors

Full Changelog: v1.2.0...v2.0.1

Codeball v2.0.0

31 May 09:21
Compare
Choose a tag to compare

The Codeball action is now split into multiple smaller parts, opening up for a lot of flexibility and custom use cases.

  • Added "status" sub-action
  • Added "labeler" sub-action
  • Changed "approver" sub-action to only approve PRs (removed features includes polling for the job result, and adding/creating labels).

New possibilities

  • Add labels for non-approved contributions (see README for an example)
  • Only run Codeball for files of a specific service has changed (see README for an example)
  • Only run Codeball for a list of users, only on Mondays, or only for Go code... (anything that is possible to express in GitHub Actions should now be possible). Use it in the best that best helps your organization! 🚀

Breaking changes (from v1)

If you're using "v1" with the default options, you can switch to "v2" without any changes in behaviour.

Users of sturdy-dev/codeball-actions/approver@v1 with customisations are the only users that will see breaking changes. See the README.md for examples of to setup the old workflow with the v2 workflows.

Full Changelog: v1.2.0...v2.0.0