Skip to content
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

Overhaul diff-shades integration to fail on stable changes and preview changes for all projects #2891

Closed
wants to merge 1 commit into from

Conversation

ichard26
Copy link
Collaborator

@ichard26 ichard26 commented Feb 21, 2022

Description

Now PRs will run two diff-shades jobs, "preview-changes" which formats all projects with preview=True, and "assert-no-changes" which formats all projects with preview=False. The latter also fails if any changes were made.

Also the workflow_dispatch feature was dropped since it was complicating everything for little gain.

Example run: ichard26#15

Checklist - did you ...

  • Add a CHANGELOG entry if necessary? -> n/a
  • Add / update tests if necessary? -> n/a
  • Add new / update outdated documentation?

@ichard26 ichard26 added skip news Pull requests that don't need a changelog entry. C: maintenance Related to project maintenance, e.g. CI, testing, policy changes, releases labels Feb 21, 2022
@JelleZijlstra
Copy link
Collaborator

It would also be useful to have a non-preview run so we can make sure the stable style doesn't get changed.

@github-actions
Copy link

diff-shades results comparing this PR (901460c) to main (c26c772). The full diff is available in the logs under the "Generate HTML diff report" step.

╭─────────────────────── Summary ────────────────────────╮
│ 1 projects & 1 files changed / 0 changes [+0/-0]       │
│                                                        │
│ ... out of 2 136 275 lines, 10 219 files & 23 projects │
╰────────────────────────────────────────────────────────╯

Differences found.

What is this? | Workflow run | diff-shades documentation

@ichard26 ichard26 marked this pull request as draft March 14, 2022 23:11
Now PRs will run two diff-shades jobs, "preview-changes" which formats
all projects with preview=True, and "assert-no-changes" which formats
all projects with preview=False. The latter also fails if any changes
were made.

Also the workflow_dispatch feature was dropped since it was
complicating everything for little gain.
@ichard26 ichard26 changed the title diff-shades: force --preview for PRs and pushes Overhaul diff-shades integration to fail on stable changes and preview changes for all projects Mar 23, 2022
@ichard26
Copy link
Collaborator Author

Superseded by #2951.

@ichard26 ichard26 closed this Mar 24, 2022
@ichard26 ichard26 deleted the force-preview branch March 24, 2022 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: maintenance Related to project maintenance, e.g. CI, testing, policy changes, releases skip news Pull requests that don't need a changelog entry.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants