-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump ansi-regex from 5.0.0 to 5.0.1 (#56) Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](chalk/ansi-regex@v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Vidya reddy prettier (#58) * upgraded to Node16 * Enforce Prettier * code fix * jest version change and prettify code Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com> * Upgraded the ncc version (#61) Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com> * Update README example to v3 (#60) * Bump @actions/core from 1.9.0 to 1.9.1 (#63) Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.9.0 to 1.9.1. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add the issue report and feature request form (#64) * syntax error fixes (#66) * added support message (#67) * Bump @actions/core (#68) to address https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * Add node modules and compiled JavaScript from main Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vidya Reddy <59590642+Vidya2606@users.noreply.github.com> Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com> Co-authored-by: Oliver King <olivermerkleyking@gmail.com> Co-authored-by: Asa Gayle <azmatch.gayle@gmail.com> Co-authored-by: Sumner Warren <sumner.warren@gmail.com> Co-authored-by: Oliver King <oking3@uncc.edu>
- Loading branch information
1 parent
b196533
commit e1be5e7
Showing
27 changed files
with
17,606 additions
and
14,517 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 |
---|---|---|
|
@@ -4,7 +4,4 @@ about: Create a report to help us improve | |
title: '' | ||
labels: need-to-triage | ||
assignees: '@aksatlanta' | ||
|
||
--- | ||
|
||
|
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,36 @@ | ||
name: Bug Report | ||
description: File a bug report specifying all inputs you provided for the action, we will respond to this thread with any questions. | ||
title: 'Bug: ' | ||
labels: ['bug', 'triage'] | ||
assignees: '@Azure/aks-atlanta' | ||
body: | ||
- type: textarea | ||
id: What-happened | ||
attributes: | ||
label: What happened? | ||
description: Tell us what happened and how is it different from the expected? | ||
placeholder: Tell us what you see! | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: Version | ||
attributes: | ||
label: Version | ||
options: | ||
- label: I am using the latest version | ||
required: true | ||
- type: input | ||
id: Runner | ||
attributes: | ||
label: Runner | ||
description: What runner are you using? | ||
placeholder: Mention the runner info (self-hosted, operating system) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: Logs | ||
attributes: | ||
label: Relevant log output | ||
description: Run in debug mode for the most verbose logs. Please feel free to attach a screenshot of the logs | ||
validations: | ||
required: true |
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,6 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: GitHub Action "setup-kubectl" Support | ||
url: https://github.com/Azure/setup-kubectl | ||
security: https://github.com/Azure/setup-kubectl/blob/main/SECURITY.md | ||
about: Please ask and answer questions here. |
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,13 @@ | ||
name: Feature Request | ||
description: File a Feature Request form, we will respond to this thread with any questions. | ||
title: 'Feature Request: ' | ||
labels: ['Feature'] | ||
assignees: '@Azure/aks-atlanta' | ||
body: | ||
- type: textarea | ||
id: Feature_request | ||
attributes: | ||
label: Feature request | ||
description: Provide example functionality and links to relevant docs | ||
validations: | ||
required: true |
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,30 +1,30 @@ | ||
name: setting-default-labels | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0/3 * * *" | ||
schedule: | ||
- cron: '0 0/3 * * *' | ||
|
||
jobs: | ||
label-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v3 | ||
name: Setting issue as idle | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.' | ||
stale-issue-label: 'idle' | ||
days-before-stale: 14 | ||
days-before-close: -1 | ||
operations-per-run: 100 | ||
exempt-issue-labels: 'backlog' | ||
- uses: actions/stale@v3 | ||
name: Setting PR as idle | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.' | ||
stale-pr-label: 'idle' | ||
days-before-stale: 14 | ||
days-before-close: -1 | ||
operations-per-run: 100 | ||
label-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v3 | ||
name: Setting issue as idle | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.' | ||
stale-issue-label: 'idle' | ||
days-before-stale: 14 | ||
days-before-close: -1 | ||
operations-per-run: 100 | ||
exempt-issue-labels: 'backlog' | ||
|
||
- uses: actions/stale@v3 | ||
name: Setting PR as idle | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.' | ||
stale-pr-label: 'idle' | ||
days-before-stale: 14 | ||
days-before-close: -1 | ||
operations-per-run: 100 |
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,49 +1,49 @@ | ||
name: Integration test for setup-kubectl | ||
on: # rebuild any PRs and main branch changes | ||
pull_request: | ||
branches: | ||
- main | ||
- "releases/*" | ||
push: | ||
branches: | ||
- main | ||
- "releases/*" | ||
pull_request: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
push: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
|
||
jobs: | ||
run-integration-test: | ||
name: Validate release and master branch | ||
runs-on: ubuntu-latest | ||
env: | ||
KUBECONFIG: /home/runner/.kube/config | ||
PR_BASE_REF: ${{ github.event.pull_request.base.ref }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout from PR branch | ||
run-integration-test: | ||
name: Validate release and master branch | ||
runs-on: ubuntu-latest | ||
env: | ||
KUBECONFIG: /home/runner/.kube/config | ||
PR_BASE_REF: ${{ github.event.pull_request.base.ref }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout from PR branch | ||
|
||
- id: action-npm-build | ||
name: npm install and build | ||
run: | | ||
echo $PR_BASE_REF | ||
if [[ $PR_BASE_REF != releases/* ]]; then | ||
npm install | ||
npm run build | ||
fi | ||
- id: action-npm-build | ||
name: npm install and build | ||
run: | | ||
echo $PR_BASE_REF | ||
if [[ $PR_BASE_REF != releases/* ]]; then | ||
npm install | ||
npm run build | ||
fi | ||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: "3.x" | ||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install requests library | ||
run: pip install requests | ||
- name: Install requests library | ||
run: pip install requests | ||
|
||
- name: Validate kubectl setup | ||
run: python test/validate-kubectl.py !v1.15.1 | ||
- name: Validate kubectl setup | ||
run: python test/validate-kubectl.py latest | ||
|
||
- name: Setup kubectl | ||
uses: ./ | ||
with: | ||
version: "v1.15.1" | ||
- name: Setup kubectl | ||
uses: ./ | ||
with: | ||
version: 'v1.15.1' | ||
|
||
- name: Validate kubectl setup | ||
run: python test/validate-kubectl.py 'v1.15.1' | ||
- name: Validate kubectl setup | ||
run: python test/validate-kubectl.py 'v1.15.1' |
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 @@ | ||
name: 'Run prettify' | ||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
prettier: | ||
name: Prettier Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Enforce Prettier | ||
uses: actionsx/prettier@v2 | ||
with: | ||
args: --check . |
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,14 +1,14 @@ | ||
name: Create release PR | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release: | ||
description: "Define release version (ex: v1, v2, v3)" | ||
required: true | ||
workflow_dispatch: | ||
inputs: | ||
release: | ||
description: 'Define release version (ex: v1, v2, v3)' | ||
required: true | ||
|
||
jobs: | ||
release-pr: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main | ||
with: | ||
release: ${{ github.event.inputs.release }} | ||
release-pr: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main | ||
with: | ||
release: ${{ github.event.inputs.release }} |
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,10 +1,10 @@ | ||
name: Tag and create release draft | ||
|
||
on: | ||
push: | ||
branches: | ||
- releases/* | ||
push: | ||
branches: | ||
- releases/* | ||
|
||
jobs: | ||
tag-and-release: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main | ||
tag-and-release: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main |
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,21 +1,21 @@ | ||
name: "Run unit tests." | ||
name: 'Run unit tests.' | ||
on: # rebuild any PRs and main branch changes | ||
pull_request: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
push: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
pull_request: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
push: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
|
||
jobs: | ||
build: # make sure build/ci works properly | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build and run L0 tests. | ||
run: | | ||
npm install | ||
npm test | ||
build: # make sure build/ci works properly | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Build and run L0 tests. | ||
run: | | ||
npm install | ||
npm test |
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 |
---|---|---|
|
@@ -327,5 +327,6 @@ ASALocalRun/ | |
|
||
# MFractors (Xamarin productivity tool) working folder | ||
.mfractor/ | ||
node_modules | ||
|
||
# Transpiled JS |
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,4 @@ | ||
# dependencies | ||
/node_modules | ||
coverage | ||
/lib |
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,8 @@ | ||
{ | ||
"trailingComma": "none", | ||
"bracketSpacing": false, | ||
"semi": false, | ||
"tabWidth": 3, | ||
"singleQuote": true, | ||
"printWidth": 80 | ||
} |
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,9 +1,9 @@ | ||
# Microsoft Open Source Code of Conduct | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). | ||
|
||
Resources: | ||
|
||
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) | ||
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) | ||
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns | ||
# Microsoft Open Source Code of Conduct | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). | ||
|
||
Resources: | ||
|
||
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) | ||
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) | ||
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns |
Oops, something went wrong.