step_skipped: A step skipped#
A pull request skips a step of the project, skipped by a person or for its author.
Holds when a writer of the project skipped one of its steps for the pull request, or when a step skips itself for the author of the pull request, see The page of a pull request. The column Dashboard has it as the switch a skipped step.
It is data of the dashboard, not of GitHub: it is known for the pull requests of a project, and its results are not kept in the cache, as they change without an update from GitHub.
Inputs#
The condition has no inputs.
Data#
dashboardWhat the dashboard keeps of a pull request: its PR Sync and the skips of its steps. Nothing is read from GitHub for it, and it needs no permission of the GitHub App.
API reference#
- class pycal_dashboard.conditions.condition.step_skipped.StepSkipped#
Bases:
DashboardConditionA pull request skips a step of the project.
Holds when a writer of the project skipped one of its steps for the pull request (
StepSkip), or when a step skips itself for its author (PullRequestStep.skip_authors). It is data of the dashboard: it is known for the pull requests of a project.- classmethod assess(issue, values, scope=None)#
Whether the pull request skips a step.
- Parameters:
issue – The pull request.
values – Nothing: the condition has no inputs.
scope – The repositories and the project.
- Returns:
True if it skips one.