diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000..5cfa4d4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,62 @@ +name: Bug Report +description: Create a report to help us improve +type: "Bug" +title: '...provide a title...' +projects: ["AlaskaAirlines/19"] +body: + - type: checkboxes + id: browsers + attributes: + label: What browser client(s) are you seeing the issue on? + description: Select all that apply. + options: + - label: Firefox + - label: Chrome + - label: Safari + - label: Microsoft Edge + - type: checkboxes + id: platform + attributes: + label: What devices platform(s) are you seeing the issue on? + description: Select all that apply. + options: + - label: Desktop + - label: Mobile + - type: textarea + id: details + attributes: + label: Steps to reproduce + description: List out the steps to reproduce the behavior and include screenshots + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + + Result: + '... What happened that you didn't expect? ...' + - type: textarea + id: expected + attributes: + label: Expected behavior + description: Please add a clear and concise description of what you expected to + happen. + - type: input + id: version + attributes: + label: Which version of auro-templates do you have installed? + - type: markdown + attributes: + value: > + The current released version is:
[![See it on + NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-hyperlink?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-hyperlink) + - type: checkboxes + id: repro + attributes: + label: Reproducible on the Auro doc site + options: + - label: 'I am able to reproduce this issue on the [Auro doc site](https://auro.alaskaair.com).' + - type: textarea + id: exit-criteria + attributes: + label: Exit criteria (To be determined by the Auro team) + description: Define exit criteria for completing this feature request. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 42f53e7..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: Bug report -description: Create a report to help us improve -title: '[issue summary] Please verify version before submitting new issue' -labels: - - 'Type: Bug' - - not-reviewed - - 'auro-hyperlink' -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! - - type: input - id: version - attributes: - label: Please verify the version of auro-hyperlink you have installed - - type: markdown - attributes: - value: > - [![See it on - NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-hyperlink?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-hyperlink) - - type: textarea - id: details - attributes: - label: Please describe the bug - description: List out the steps to reproduce the behavior and include screenshots - placeholder: | - 1. Go to '...' - 2. Click on '....' - 3. Scroll down to '....' - 4. See error - - type: dropdown - id: repro - attributes: - label: Reproducing the error - description: Are you able to reproduce this issue on the [Auro docsite](https://auro.alaskaair.com/)? - options: - - This issue is reproducible on the Auro docsite - - This issue cannot be reproduced on the Auro docsite - - type: textarea - id: expected - attributes: - label: Expected behavior - description: Please add a clear and concise description of what you expected to - happen. - - type: dropdown - id: browsers - attributes: - label: What browsers are you seeing the problem on? - multiple: true - options: - - Firefox - - Chrome - - Safari - - Microsoft Edge - - type: textarea - id: context - attributes: - label: Additional context - description: Add any other context about the problem here. - - type: textarea - id: exit-criteria - attributes: - label: Exit criteria - description: Define your issue's exit criteria - placeholder: "This issue can be closed once the error has been corrected. Any additional scope e.g. updates or refactors, should be discussed PRIOR to adding scope to this issue." diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 0000000..898f690 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,21 @@ +name: Feature Request +description: Suggest an idea for this project +type: "Feature" +title: '...provide a title...' +projects: ["AlaskaAirlines/19"] +body: + - type: textarea + id: request + attributes: + label: Feature Description + description: A clear and concise description of what the feature addition or change is. + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + - type: textarea + id: exit-criteria + attributes: + label: Exit criteria (To be determined by the Auro team) + description: Define exit criteria for completing this feature request. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml deleted file mode 100644 index 29e7641..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Feature request -description: Suggest an idea for this project -title: 'auro-hyperlink: [feature summary]' -labels: - - 'Type: Feature' - - not-reviewed - - 'auro-hyperlink' -body: - - type: textarea - id: request - attributes: - label: Is your feature request related to a problem? Please describe. - description: A clear and concise description of what the problem is. - placeholder: Ex. I'm always frustrated when [...] - - type: textarea - id: solution - attributes: - label: Describe the solution you'd like - description: A clear and concise description of what you want to happen. - - type: textarea - id: alternative - attributes: - label: Describe alternatives you've considered - description: A clear and concise description of any alternative solutions or features you've considered. - - type: textarea - id: context - attributes: - label: Additional context - description: Add any other context or screenshots about the feature request here. - - type: textarea - id: exit-criteria - attributes: - label: Exit criteria - description: Define your issue's exit criteria - placeholder: "This issue can be closed once the error has been corrected. Any additional scope e.g. updates or refactors, should be discussed PRIOR to adding scope to this issue." diff --git a/.github/ISSUE_TEMPLATE/general-support.yaml b/.github/ISSUE_TEMPLATE/general-support.yaml new file mode 100644 index 0000000..6c22e13 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/general-support.yaml @@ -0,0 +1,26 @@ +name: Support Request +description: Request for assistance with any issue related to the Aurora Design System +type: "Support" +title: '...provide a title...' +projects: ["AlaskaAirlines/19"] +body: + - type: textarea + id: request + attributes: + label: Support Request Description + description: A clear and concise description of the support request. + - type: textarea + id: solution + attributes: + label: Possible Solution + description: Not obligatory, but suggest any idea(s) for resolution. + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + - type: textarea + id: exit-criteria + attributes: + label: Exit criteria (To be determined by the Auro team) + description: Define exit criteria for completing this feature request. diff --git a/.github/ISSUE_TEMPLATE/general-support.yml b/.github/ISSUE_TEMPLATE/general-support.yml deleted file mode 100644 index d20eaf5..0000000 --- a/.github/ISSUE_TEMPLATE/general-support.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: General support -description: Suggestions that are not related to bugs or new features -title: 'auro-hyperlink: [issue]' -labels: - - 'Type: Question' - - 'Type: Feature' - - not-reviewed - - 'auro-hyperlink' -body: - - type: textarea - id: request - attributes: - label: General Support Request - description: A clear and concise description of what you are interested in seeing. - - type: textarea - id: solution - attributes: - label: Possible Solution - description: Not obligatory, but suggest an idea of how to implement the requested update. - - type: textarea - id: context - attributes: - label: Additional context - description: Add any other context or screenshots about the feature request here. - - type: textarea - id: exit-criteria - attributes: - label: Exit criteria - description: Define your issue's exit criteria - placeholder: "This issue can be closed once the error has been corrected. Any additional scope e.g. updates or refactors, should be discussed PRIOR to adding scope to this issue." diff --git a/.github/ISSUE_TEMPLATE/group.yaml b/.github/ISSUE_TEMPLATE/group.yaml new file mode 100644 index 0000000..6ef730d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/group.yaml @@ -0,0 +1,11 @@ +name: Group +description: Group related issues together to manage them as a unit. +type: "Group" +title: '...provide a title...' +projects: ["AlaskaAirlines/19"] +body: + - type: textarea + id: request + attributes: + label: Description (Optional) + description: Describe the group of work that needs to be done. diff --git a/.github/ISSUE_TEMPLATE/story.yaml b/.github/ISSUE_TEMPLATE/story.yaml new file mode 100644 index 0000000..ad653b3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/story.yaml @@ -0,0 +1,26 @@ +name: Story +description: Define a body of work driven by Product goals. +type: "Story" +title: '...provide a title...' +projects: ["AlaskaAirlines/19"] +body: + - type: textarea + id: request + attributes: + label: Description + description: A clear and concise description of the story. + - type: textarea + id: result + attributes: + label: Desired Outcome + description: A clear and concise explanation of the desired result. + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context or screenshots about the here. + - type: textarea + id: exit-criteria + attributes: + label: Exit criteria (To be determined by the Auro team) + description: Define exit criteria for completing this story. diff --git a/.github/ISSUE_TEMPLATE/task.yaml b/.github/ISSUE_TEMPLATE/task.yaml new file mode 100644 index 0000000..5431318 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task.yaml @@ -0,0 +1,21 @@ +name: Task +description: Any work task that is not a bug or feature change. +type: "Task" +title: '...provide a title...' +projects: ["AlaskaAirlines/19"] +body: + - type: textarea + id: request + attributes: + label: Description + description: A clear and concise description of what the task is. + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context or screenshots. + - type: textarea + id: exit-criteria + attributes: + label: Exit criteria (To be determined by the Auro team) + description: Define exit criteria for completing this task. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9f909c2..a2851e8 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,21 +1,6 @@ # Alaska Airlines Pull Request -Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. - -**Resolves:** # (issue, if applicable) - -## Summary: - -_Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project._ - -## Type of change: - -Please delete options that are not relevant. - -- [ ] New capability -- [ ] Revision of an existing capability -- [ ] Infrastructure change (automation, etc.) -- [ ] Other (please elaborate) +Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. ## Checklist: diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 0000000..9044c85 --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,37 @@ +Thanks for helping make Auro safe for everyone. + +## Security + +Alaska Airlines and the Auro team takes the security of our software products and services seriously, including all of the open source code repositories managed through our [GitHub organization](https://github.com/AlaskaAirlines/). + +Even though [open source repositories are outside of the scope of our bug bounty program](https://bounty.github.com/index.html#scope) and therefore not eligible for bounty rewards, we will ensure that your finding gets passed along to the appropriate maintainers for remediation. + +## Reporting Security Issues + +If you have encountered a potential security vulnerability in this project, please report it via [Alaska Airlines site security vulnerability reporting portal](https://www.alaskaair.com/content/about-us/site-info/report-site-security-issues). We will work with you to verify the vulnerability and patch it. + +**Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.** + +When reporting issues, please see the guidelines for reporting vulnerabilities and provide the following information: + +- Component(s) affected +- A description indicating how to reproduce the issue +- A summary of the security vulnerability and impact + +We request that you contact us via the linked portal above and give the project contributors a chance to resolve the vulnerability and issue a new release prior to any public exposure; this helps protect the project's users, and provides them with a chance to upgrade and/or update in order to protect their applications. + +Please include as much of the information listed below as you can to help us better understand and resolve the issue: + + * The type of issue (e.g., buffer overflow, SQL injection, or cross-site scripting) + * Full paths of source file(s) related to the manifestation of the issue + * The location of the affected source code (tag/branch/commit or direct URL) + * Any special configuration required to reproduce the issue + * Step-by-step instructions to reproduce the issue + * Proof-of-concept or exploit code (if possible) + * Impact of the issue, including how an attacker might exploit the issue + +This information will help us triage your report more quickly. + +## Policy + +See [GitHub's Safe Harbor Policy](https://docs.github.com/en/site-policy/security-policies/github-bug-bounty-program-legal-safe-harbor) diff --git a/.github/settings.yml b/.github/settings.yml index 9513519..22225ce 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -33,8 +33,8 @@ repository: # Either `true` to allow rebase-merging pull requests, or `false` to prevent # rebase-merging. - allow_rebase_merge: true - + allow_rebase_merge: true + # See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options teams: # The permission to grant the team. Can be one of: @@ -83,108 +83,3 @@ branches: - name: beta <<: *default_protection - -# Labels: define labels for Issues and Pull Requests -labels: - - name: auro-hyperlink - color: 'fa23e4' - description: - process: Key filter for this repo - - name: duplicate - color: '156fad' - description: This Issue or Pull Request already exists - - name: not-reviewed - color: '222222' - description: Issue has not been reviewed by Auro team members - - name: good first issue - color: '6bb7fb' - description: Good for newcomers - aliases: - - beginner-friendly - - beginner - - good-starter-issue - - good for beginner - - Good for beginners - - starter-issue - - starter - - name: help wanted - color: '6bb7fb' - description: Extra attention is needed, this user requires assistance to complete - the work - - name: released - color: 'A9A9A9' - description: Completed work has been released - - name: 'Status: Work In Progress' - description: Issue or Pull Request work is in Progress - color: 'c0e585' - - name: 'Status: Review Needed' - color: 'c0e585' - description: Work is completed, user is requesting feedback - - name: 'Status: Complete' - color: 'c0e585' - description: Owner has completed work and considers it ready to be merged - - name: 'Status: Blocked' - color: 'df0b37' - description: Progress on the issue is Blocked, immediate attention is required - aliases: - - blocked - - name: 'Abandoned' - color: '156fad' - description: The author of this issue or Pull Request is not responding - aliases: - - wontfix - - invalid - - name: 'Type: Bug' - color: df0b37 - description: Bug or Bug fixes - aliases: - - bug - - name: 'Type: Feature' - color: 'ffd200' - description: New Feature - aliases: - - enhancement - - name: 'Type: Design' - color: 'ffd200' - description: New or related Design work - aliases: - - enhancement - - name: 'Type: Content' - color: 'ffd200' - description: Adding or editing content - aliases: - - enhancement - - name: 'Type: Refactoring' - color: 'ffd200' - description: A code change that neither fixes a bug nor adds a feature - aliases: - - refactor - - name: 'Type: Documentation' - color: 'ffd200' - description: Documentation only changes - aliases: - - documents - - document - - name: 'Type: CI' - color: 'ffd200' - description: Changes to CI configuration files and scripts - aliases: - - ci - - name: 'Type: Perf' - color: 'ffd200' - description: Performance update to existing code - - name: 'Question' - color: 'b83302' - description: Further information is requested - aliases: - - question - - name: 'Type: Dependencies' - color: 'ffd200' - description: Pull requests that update a dependency file - aliases: - - dependencies - - name: 'Type: UI Update' - color: 'ffd200' - description: Changes to the user interface - aliases: - - dependencies diff --git a/.github/workflows/addToProject.yml b/.github/workflows/addToProject.yml deleted file mode 100644 index 95a5d61..0000000 --- a/.github/workflows/addToProject.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: Add issue to Auro project - -on: - issues: - types: [opened] - -jobs: - call-auro-assign-workflow: - uses: AlaskaAirlines/auro-library/.github/workflows/addToProject.yml@main - secrets: inherit diff --git a/.github/workflows/autoAssign.yml b/.github/workflows/autoAssign.yml deleted file mode 100644 index 9e4c841..0000000 --- a/.github/workflows/autoAssign.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: Issue assignment - -on: - issues: - types: [opened] - -jobs: - call-auro-assign-workflow: - uses: AlaskaAirlines/auro-library/.github/workflows/autoAssign.yml@main diff --git a/.github/workflows/publishDemo.yml b/.github/workflows/publishDemo.yml index 5d6f19d..fb2bf18 100644 --- a/.github/workflows/publishDemo.yml +++ b/.github/workflows/publishDemo.yml @@ -2,11 +2,11 @@ name: Deploy Demo on: pull_request: - branches: [ main ] - + branches: [ main ] + jobs: call-publish-demo-workflow: uses: AlaskaAirlines/auro-library/.github/workflows/publishDemo.yml@main secrets: - AURO_SURGE_TOKEN: ${{secrets.AURO_SURGE_TOKEN}} + AURO_SURGE_TOKEN: ${{secrets.AURO_SURGE_TOKEN}} \ No newline at end of file diff --git a/.github/workflows/testPublish.yml b/.github/workflows/testPublish.yml index d94592f..cc60c3a 100644 --- a/.github/workflows/testPublish.yml +++ b/.github/workflows/testPublish.yml @@ -1,14 +1,14 @@ -name: Test and publish - -# Controls when the action will run. Triggers the workflow on push or pull request - +name: Test and publish + +# Controls when the action will run. Triggers the workflow on push or pull request + # events but only for the main branch on: push: branches: [ main, beta ] pull_request: - branches: [ main, beta ] - + branches: [ main, beta ] + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: test: @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [20.x, 22.x] + node-version: [20, 22] steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: 22 - run: npm ci - run: npm run build:release - uses: cycjimmy/semantic-release-action@v4