Skip to content

Add support for GitHub Actions#1414

Open
shahmishal wants to merge 5 commits intomainfrom
shahmishal/github-actions-support
Open

Add support for GitHub Actions#1414
shahmishal wants to merge 5 commits intomainfrom
shahmishal/github-actions-support

Conversation

@shahmishal
Copy link
Member

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

This checker is explicitly trying to find these invalid words in these cases, so I don't think we want them changed. Not 100% sure how to say "this is acceptable" for the soundness checking in a multi-line Swift string here though


DispatchQueue.global().asyncAfter(deadline: .now() + 1) {
kill(getpid(), SIGABRT)
kill(getpid(), SIGABRT) # ignore-unacceptable-language
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't compile

/// Runs `signal-test-app` and confirms that it exits with code 99.
///
/// `signal-test-app` sends a kill signal to itself and uses ``Signal`` to intercept that signal
/// `signal-test-app` sends a terminate signal to itself and uses ``Signal`` to intercept that signal
Copy link
Contributor

Choose a reason for hiding this comment

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

"kill" and "terminate" are terms of art in the case of signals to stop process execution.

In this case it might be better to spell out the specific signal being sent to avoid any other interpretation

Suggested change
/// `signal-test-app` sends a terminate signal to itself and uses ``Signal`` to intercept that signal
/// `signal-test-app` sends a `SIGABRT` signal to itself and uses ``Signal`` to intercept that signal

Copy link
Contributor

Choose a reason for hiding this comment

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

These checks feel unrelated to the PRs main purpose and could IMO be added later.

@compnerd compnerd force-pushed the shahmishal/github-actions-support branch from 6d8fafe to fb0fa80 Compare February 10, 2026 17:49
@compnerd compnerd requested a review from a team as a code owner February 10, 2026 17:49
@d-ronnqvist
Copy link
Contributor

d-ronnqvist commented Feb 10, 2026

It's a bit pointless to request additional reviews when the feedback so far hasn't been addressed yet.

Copy link
Contributor

@d-ronnqvist d-ronnqvist left a comment

Choose a reason for hiding this comment

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

There's code that doesn't compile. After that is fixed; DocC's own inclusive language test fail because all the non-inclusive language has been removed from that test content.

Also, the whitespace checking script seems unnecessary and unrelated to having supporting GitHub actions. Please move that to a separate PR so that it can be discussed on its own merits and not hold up this PR.

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