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

[CI] Use ShellCheck #19681

Closed
wants to merge 1 commit into from
Closed

[CI] Use ShellCheck #19681

wants to merge 1 commit into from

Conversation

hramos
Copy link
Contributor

@hramos hramos commented Jun 13, 2018

As recommended in https://circleci.com/docs/2.0/using-shell-scripts/#use-shellcheck

It will only run on PRs for now.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 13, 2018
@react-native-bot react-native-bot added Missing Test Plan This PR appears to be missing a test plan. Core Team Missing Changelog This PR appears to be missing a changelog, or they are incorrectly formatted. labels Jun 13, 2018
@hramos hramos force-pushed the run-shellcheck branch 2 times, most recently from 0856b9e to 2ae6b4e Compare June 13, 2018 17:35
@facebook-github-bot

This comment has been minimized.

@facebook-github-bot

This comment has been minimized.

@facebook-github-bot

This comment has been minimized.

@hramos hramos force-pushed the run-shellcheck branch 4 times, most recently from cd2f3d4 to 87efe80 Compare September 27, 2018 22:19
@pull-bot
Copy link

pull-bot commented Sep 27, 2018

Warnings
⚠️

📋 Test Plan - This PR appears to be missing a Test Plan.

⚠️

📋 Release Notes - This PR appears to be missing Release Notes.

⚠️

❗ Big PR - This PR is extremely unlikely to get reviewed because it touches 769 lines.

Generated by 🚫 dangerJS

@hramos hramos force-pushed the run-shellcheck branch 4 times, most recently from 2bf7a4e to f193de5 Compare September 27, 2018 23:03
Copy link

@analysis-bot analysis-bot left a comment

Choose a reason for hiding this comment

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

eslint found some issues. You may run yarn prettier or npm run prettier to fix these.

const body =
'`eslint` found some issues. You may run `yarn prettier` or `npm run prettier` to fix these.';
const event = 'REQUEST_CHANGES';

Choose a reason for hiding this comment

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

no-unused-vars: 'sendComment' is defined but never used.

@hramos hramos force-pushed the run-shellcheck branch 3 times, most recently from c04a9cb to 4589727 Compare September 27, 2018 23:57
Copy link
Contributor Author

@hramos hramos left a comment

Choose a reason for hiding this comment

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

Code analysis results:

  • shellcheck found some issues.

@hramos hramos force-pushed the run-shellcheck branch 3 times, most recently from 9e64c65 to d7246b7 Compare September 28, 2018 20:16
@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Sep 28, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

@hramos merged commit 53b487d into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Sep 29, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Sep 29, 2018
@hramos hramos deleted the run-shellcheck branch October 1, 2018 18:35
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
t-nanava pushed a commit to microsoft/react-native-macos that referenced this pull request Jun 17, 2019
Summary:
As recommended in https://circleci.com/docs/2.0/using-shell-scripts/#use-shellcheck

It will only run on PRs for now.
Pull Request resolved: facebook#19681

Differential Revision: D10111711

Pulled By: hramos

fbshipit-source-id: e980a526561dced79e5197a11cfb41a3eba9be8b
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Missing Changelog This PR appears to be missing a changelog, or they are incorrectly formatted. Missing Test Plan This PR appears to be missing a test plan.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants