-
Notifications
You must be signed in to change notification settings - Fork 394
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
format: lint all files #2624
Merged
Merged
format: lint all files #2624
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,17 +3,14 @@ on: | |
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
run: | ||
name: Link Check All | ||
runs-on: ubuntu-latest | ||
env: | ||
NODE_OPTIONS: '--max-http-header-size=65536' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run Link Check | ||
uses: 'iterative/[email protected]' | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,32 +4,29 @@ name: Check new links against deployment | |
on: | ||
- deployment | ||
- deployment_status | ||
|
||
jobs: | ||
run: | ||
name: Initialize | ||
runs-on: ubuntu-latest | ||
if: github.event.deployment.ref != 'master' && github.event.deployment_status.state == 'success' | ||
|
||
if: | ||
github.event.deployment.ref != 'master' && | ||
github.event.deployment_status.state == 'success' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- id: build_check | ||
uses: LouisBrunner/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: Report | ||
status: queued | ||
|
||
- name: Run Link Check | ||
id: check | ||
uses: 'iterative/[email protected]' | ||
uses: iterative/[email protected] | ||
with: | ||
diff: true | ||
configFile: 'config/link-check/config.yml' | ||
configFile: config/link-check/config.yml | ||
rootURL: '${{ github.event.deployment.payload.web_url }}' | ||
output: checksAction | ||
|
||
- uses: LouisBrunner/[email protected] | ||
if: ${{ success() }} | ||
with: | ||
|
@@ -38,7 +35,6 @@ jobs: | |
status: completed | ||
conclusion: ${{ steps.check.outputs.conclusion }} | ||
output: ${{ steps.check.outputs.output }} | ||
|
||
- uses: LouisBrunner/[email protected] | ||
if: ${{ failure() }} | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.cache/ | ||
.github | ||
public/ | ||
.github/PULL_REQUEST_TEMPLATE.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From iterative/cml.dev#60 (comment)
Yes, it's a white list. For example when you run the dev server there's a .cache/ folder with lots of .js files (also node_modules/ and public/); there can be .vscode/extensions.json in your repo; etc.
Is there a reason to do this? 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a restyled bot config file, @jorgeorpinel so that's all uncommitted irrelevance AFAIK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so that's all uncommitted irrelevance AFAIK.
- your point that it'll be analyzing only changed files?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would double check that this is true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the restyled bot works online - it never sees our local mess.