Skip to content

Conversation

@alexkappa
Copy link
Contributor

@alexkappa alexkappa commented Jun 23, 2020

Description

This PR adds support for reporting with status: aborted if a configuration failure has occurred.

Dependencies

We shouldn't merge this PR until the /repositories/{repository_id}/code-scanning/analysis/status schema has been updated to allow for the new status.

Merge / deployment checklist

  • Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
    • CodeQL using init/analyze actions
    • 3rd party tool using upload action
  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

@alexkappa alexkappa requested a review from robertbrignull June 24, 2020 11:57
@alexkappa alexkappa marked this pull request as ready for review June 24, 2020 11:58
Copy link
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One typo that needs fixing, but otherwise looks basically there.

Could you run a test? Just push a new branch where you've intentionally made the config invalid and make sure it's behaving as expected.

Copy link
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexkappa alexkappa merged commit 6846c70 into main Jun 24, 2020
@alexkappa alexkappa deleted the report-action-aborted branch June 24, 2020 13:06
@github-actions github-actions bot mentioned this pull request Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants