Skip to content

Add "cancelled" as possible conclusion of a completed workflow step#892

Merged
wolfy1339 merged 2 commits into
octokit:mainfrom
eduramirezh:patch-1
Feb 3, 2024
Merged

Add "cancelled" as possible conclusion of a completed workflow step#892
wolfy1339 merged 2 commits into
octokit:mainfrom
eduramirezh:patch-1

Conversation

@eduramirezh

Copy link
Copy Markdown
Contributor

Resolves #891


Before the change?

  • Workflow steps with status "completed" CAN'T have a "cancelled" conclusion.

After the change?

  • Workflow steps with status "completed" CAN have a "cancelled" conclusion.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

  • Yes
  • No

@github-actions

github-actions Bot commented Feb 1, 2024

Copy link
Copy Markdown
Contributor

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@eduramirezh

Copy link
Copy Markdown
Contributor Author

When I run npm run build:typesI get:

> @octokit/webhooks-definitions@0.0.0-development build:types
> node --no-warnings=ExperimentalWarning --loader ts-node/esm bin/octokit-types.mts

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOENT: no such file or directory, open './payload-schemas/schema.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: './payload-schemas/schema.json'
}

Node.js v20.11.0

How should I proceed @wolfy1339 ?

@wolfy1339

Copy link
Copy Markdown
Member

You have to generate the schema first using the npm run build:schema and then you can generate the types

@wolfy1339 wolfy1339 merged commit 6df0bc4 into octokit:main Feb 3, 2024
@octokitbot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 7.3.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@eduramirezh

Copy link
Copy Markdown
Contributor Author

that was quick 😮 thank you @wolfy1339!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[BUG]: completed workflow steps should have "cancelled" as possible conclusion

3 participants