-
Notifications
You must be signed in to change notification settings - Fork 1
fix ncm-report-github-action for github gates #8
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
Open
aiton-app
wants to merge
39
commits into
master
Choose a base branch
from
gate
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
65e7580
tweaks for github gate
aiton-app ef6f9ea
revert RUN npm install -g ncm-cli
aiton-app f2c1663
add author
aiton-app 26d911a
gtest annotations.json
aiton-app 619c305
add
aiton-app 1fe3720
a
aiton-app 06549c3
.
aiton-app d28443e
.
aiton-app 849e14b
.
aiton-app 9e6990b
.
aiton-app 44212c4
.
aiton-app 2a91e73
.
aiton-app 33f9356
.
aiton-app 5882f27
.
aiton-app 4217e28
.
aiton-app b8857af
.
aiton-app 74c5969
.
aiton-app 1a5b236
.
aiton-app 1859f9d
.
aiton-app fe2176c
.
aiton-app 0842559
chmod +x ncm.sh
aiton-app 7aeece4
.
aiton-app 3b2d266
.
aiton-app e0bb3b7
.
aiton-app 21df454
.
aiton-app 84bdedf
.
aiton-app 58b607a
.
aiton-app ee7f961
add ncm-annotate
aiton-app 696df91
add debian source list
italojs df86b44
add debian repository
italojs 38a768b
install apps
italojs 95b6066
not installing build-essential
italojs eecd479
debug
italojs 53cabe2
debug
italojs 17e0acd
debug
italojs dc05bb5
debug
italojs 3a85e4d
debug
italojs 315a2bd
adding build-essesntials pakgs one by one
italojs d42721c
debug
italojs 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 hidden or 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
This file contains hidden or 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
This file contains hidden or 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,14 +1,6 @@ | ||
#!/bin/bash -l | ||
|
||
if [[ "$2" = "yes" ]] | ||
then | ||
FORCE_COLOR=1 IS_GITHUB_ACTION=true NCM_TOKEN=$1 ncm report --long | ||
elif [[ "$3" = "yes" ]] | ||
then | ||
FORCE_COLOR=1 IS_GITHUB_ACTION=true NCM_TOKEN=$1 ncm report --compliance | ||
elif [[ "$4" = "yes" ]] | ||
then | ||
FORCE_COLOR=1 IS_GITHUB_ACTION=true NCM_TOKEN=$1 ncm report --security | ||
else | ||
FORCE_COLOR=1 IS_GITHUB_ACTION=true NCM_TOKEN=$1 ncm report | ||
fi | ||
FORCE_COLOR=1 IS_GITHUB_ACTION=true NCM_TOKEN=$1 ncm report --gate > report.json | ||
cat report.json | ||
cat ncm-annotate.sh | ||
chmod +x ncm-annotate.sh |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "ncm-report-github-action", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/nodesource/ncm-report-github-action.git" | ||
}, | ||
"author": "NodeSource", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/nodesource/ncm-report-github-action/issues" | ||
}, | ||
"homepage": "https://github.com/nodesource/ncm-report-github-action#readme" | ||
} |
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.
Uh oh!
There was an error while loading. Please reload this page.