Skip to content

fix: Makes draft optional for scorecards #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2025
Merged

Conversation

akwirick
Copy link
Collaborator

We document the draft property of scorecards as optional but don't provide a default for the resource. This updates the resource schema to mark draft as both optional and computed (you need both to avoid conflicts).

It also fixes the README which mistakenly pointed users to cortex/cortex instead of the correct provider name of cortexapp/cortex.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

Files not reviewed (1)
  • Makefile: Language not supported

@akwirick akwirick force-pushed the akwirick/draft-optional branch from 6ab3d99 to 3d72cae Compare April 18, 2025 20:27
@akwirick akwirick force-pushed the akwirick/draft-optional branch from 3d72cae to bcce647 Compare April 18, 2025 20:42
@akwirick akwirick merged commit 13e9e42 into main Apr 18, 2025
3 checks passed
@akwirick akwirick deleted the akwirick/draft-optional branch April 18, 2025 21:14
akwirick added a commit that referenced this pull request Apr 18, 2025
This was addressed in #45 but regressed in #46 after changes to the
acceptance testing flow.

Category is deprecated in the Cortex API and the provider will need an
update to adopt the newer filtering approach. In the meantime, we just
remove the feature from acceptance testing and mark it as deprecated.
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.

2 participants