-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: (╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW <[email protected]>
- Loading branch information
0 parents
commit 8efed6d
Showing
24 changed files
with
12,098 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,7 @@ | ||
--- | ||
name: Bug Report / Feature Request | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: need-to-triage | ||
assignees: '@mostafahussein' | ||
--- |
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: '@mostafahussein' | ||
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,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: GitHub Action "setup-aws-iam-authenticator" Support | ||
url: https://github.com/mostafahussein/setup-aws-iam-authenticator | ||
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: '@mostafahussein' | ||
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: setting-default-labels | ||
|
||
on: | ||
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 |
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,48 @@ | ||
name: Integration test for setup-aws-iam-authenticator | ||
on: # rebuild any PRs and main branch changes | ||
pull_request: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
push: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
|
||
jobs: | ||
run-integration-test: | ||
name: Validate release and master branch | ||
runs-on: ubuntu-latest | ||
env: | ||
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 | ||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install requests library | ||
run: pip install requests | ||
|
||
- name: Setup aws-iam-authenticator | ||
uses: ./ | ||
with: | ||
version: 'v0.5.9' | ||
|
||
- name: Fetch aws-iam-authenticator latest version dynamically and validate the setup | ||
run: python test/validate-aws-iam-authenticator.py latest | ||
|
||
- name: Set specific aws-iam-authenticator version and validate the setup | ||
run: python test/validate-aws-iam-authenticator.py 'v0.5.9' |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Create release PR | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release: | ||
description: 'Define release version (ex: v1, v2, v3)' | ||
required: true | ||
|
||
jobs: | ||
release-pr: | ||
uses: mostafahussein/js-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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Tag and create release draft | ||
|
||
on: | ||
push: | ||
branches: | ||
- releases/* | ||
|
||
jobs: | ||
tag-and-release: | ||
uses: mostafahussein/js-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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'Run unit tests.' | ||
on: # rebuild any PRs and main branch changes | ||
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 |
Oops, something went wrong.