-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fb54ad2
Showing
15 changed files
with
2,532 additions
and
0 deletions.
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,14 @@ | ||
{ | ||
"env": { | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"no-extra-semi": "off" | ||
} | ||
} |
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,37 @@ | ||
name: "⚠️ Report an Issue" | ||
description: "Something Not Working Right? Please let us know..." | ||
labels: ["bug"] | ||
assignees: | ||
- smashedr | ||
|
||
body: | ||
- type: input | ||
id: website | ||
validations: | ||
required: false | ||
attributes: | ||
label: Repo Link | ||
description: Please provide a link to the repository or workflow you are having issues with if possible. | ||
|
||
- type: textarea | ||
id: description | ||
validations: | ||
required: true | ||
attributes: | ||
label: Details | ||
description: Please describe the issue you are experiencing and how to reproduce. | ||
placeholder: Provide as many details as you can... | ||
|
||
- type: textarea | ||
id: logs | ||
validations: | ||
required: false | ||
attributes: | ||
label: Log Output | ||
description: Paste any relevant logs or output in this box. | ||
render: shell | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
All issues/bugs that we can verify will be fixed. Thank you for taking the time to make this report! |
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,17 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: "💡 Request a Feature" | ||
about: Request a New Feature or Enhancement in the Discussions. | ||
url: https://github.com/cssnr/web-request-action/discussions/new?category=feature-requests | ||
|
||
- name: "❔ Ask a Question" | ||
about: Ask a General Question or start a Discussions. | ||
url: https://github.com/cssnr/web-request-action/discussions/new?category=q-a | ||
|
||
- name: "💬 Join Discord" | ||
about: Chat with us about Issues, Features, Questions and More. | ||
url: https://discord.gg/wXy6m2X8wY | ||
|
||
- name: "📝 Submit Feedback" | ||
about: Send General Feedback. | ||
url: https://cssnr.github.io/feedback |
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,17 @@ | ||
name: "Tags" | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
tags: | ||
name: "Tags" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
- name: "Update Tags" | ||
uses: cssnr/update-version-tags-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_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,76 @@ | ||
name: "Test" | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
test: | ||
name: "Test" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Test Local Action" | ||
id: test | ||
uses: ./ | ||
with: | ||
url: https://httpbin.org/get | ||
|
||
- name: "Echo Outputs" | ||
run: | | ||
echo '${{ steps.test.outputs.status }}' | ||
echo '${{ steps.test.outputs.data }}' | ||
lint: | ||
name: "Lint" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Setup Node" | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: "ESLint" | ||
run: | | ||
npm install | ||
npm run lint | ||
build: | ||
name: "Build" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Setup Node" | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: "Build" | ||
run: | | ||
npm install | ||
npm run build | ||
- name: "Verify" | ||
run: | | ||
git status --porcelain dist/ | ||
if [ ! -d "dist" ];then | ||
echo "Missing dist directory, run: npm build" | ||
exit 1 | ||
fi | ||
if [ -n "$(git status --porcelain dist)" ];then | ||
echo "Build was not run, run: npm build" | ||
exit 1 | ||
fi |
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,7 @@ | ||
.idea/ | ||
*.iml | ||
.vscode/ | ||
node_modules/ | ||
.env | ||
.secrets | ||
.vars |
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,3 @@ | ||
dist/ | ||
node_modules/ | ||
package-lock.json |
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 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 4, | ||
"semi": false, | ||
"singleQuote": true, | ||
"overrides": [ | ||
{ | ||
"files": ["**/*.json", "**/*.yaml", "**/*.yml"], | ||
"options": { | ||
"singleQuote": false | ||
} | ||
}, | ||
{ | ||
"files": ["**/*.json", "**/*.yaml", "**/*.yml"], | ||
"options": { | ||
"tabWidth": 2 | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.