-
Notifications
You must be signed in to change notification settings - Fork 1
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
repo forked in release #1
Merged
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
f78b053
repo forked in release
Raj-StepSecurity dcf19e6
workflow trigger changed
Raj-StepSecurity a201479
axios added
Raj-StepSecurity 7b3b820
axios defined
Raj-StepSecurity 2aaf5bd
axios updated
Raj-StepSecurity 5e44df0
index.js changes
Raj-StepSecurity 3811241
release updated
Raj-StepSecurity bbafdfa
dist added
Raj-StepSecurity 79084cb
changes
Raj-StepSecurity e606e81
faq updated
Raj-StepSecurity 388cc4f
faq updated
Raj-StepSecurity 775383d
comments addressed
Raj-StepSecurity 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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
module.exports = { | ||
parserOptions: { | ||
ecmaVersion: 2017, | ||
sourceType: 'module' | ||
}, | ||
env: { | ||
node: true | ||
}, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/*.spec.js' | ||
], | ||
env: { | ||
jest: true | ||
} | ||
} | ||
], | ||
extends: [ | ||
'plugin:jsdoc/recommended', | ||
'strongloop' | ||
], | ||
plugins: [ | ||
'jsdoc' | ||
], | ||
rules: { | ||
'max-len': ['error', { code: 150 }], | ||
indent: [ | ||
'error', 2, | ||
{SwitchCase: 1} | ||
], | ||
'linebreak-style': [ | ||
'error', | ||
'unix' | ||
], | ||
quotes: [ | ||
'warn', | ||
'double' | ||
], | ||
semi: [ | ||
'warn', | ||
'always' | ||
], | ||
'comma-dangle': ['warn', 'never'], | ||
'space-before-function-paren': ['error', { | ||
anonymous: 'never', | ||
named: 'never', | ||
asyncArrow: 'always' | ||
}], | ||
'jsdoc/no-undefined-types': 0 | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
ignore: | ||
- dependency-name: "husky" | ||
- dependency-name: "lint-staged" | ||
- dependency-name: "eslint*" |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
":disableDependencyDashboard" | ||
], | ||
"packageRules": [ | ||
{ | ||
"groupName": "devDeps", | ||
"description": "Automerge minor updates of devDeps", | ||
"automerge": true, | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"matchDepTypes": ["devDependencies"], | ||
"schedule": ["on the first day of the month"] | ||
} | ||
], | ||
"forkProcessing": "enabled" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Release GitHub Actions | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: "Tag for the release" | ||
required: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
release: | ||
permissions: | ||
actions: read | ||
id-token: write | ||
contents: write | ||
uses: step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1 | ||
with: | ||
tag: "${{ github.event.inputs.tag }}" |
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 |
---|---|---|
@@ -0,0 +1,125 @@ | ||
name: Test | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Set variable | ||
uses: action-pack/set-variable@v1 | ||
with: | ||
name: 'TEST' | ||
value: '1' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test increment | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test increment by 2 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: 2 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test decrement by 4 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: -4 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Set variable | ||
uses: action-pack/set-variable@v1 | ||
with: | ||
name: 'TEST' | ||
value: '05' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test increment | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test increment by 2 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: 2 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test decrement by 4 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: -4 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Set variable | ||
uses: action-pack/set-variable@v1 | ||
with: | ||
name: 'TEST' | ||
value: '0.5.05' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test increment | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test increment by 2 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: 2 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test decrement by 4 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: -4 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Set variable | ||
uses: action-pack/set-variable@v1 | ||
with: | ||
name: 'TEST' | ||
value: '-4' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test negative increment | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test negative decrement by 2 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: -2 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test increment by 4 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: 4 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
- | ||
name: Test decrement by 4 | ||
uses: action-pack/increment@v2 | ||
with: | ||
name: 'TEST' | ||
amount: -4 | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# Next.js build output | ||
.next | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
#dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and *not* Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
# IDE | ||
.idea | ||
.vscode |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
Copyright (c) 2024 StepSecurity | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Oops, something went wrong.
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.
we can remove this file.
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.
done