Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 10 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*.tsx @hevayo @gigara @tharindulak
*.css @hevayo @gigara @tharindulak
*.scss @hevayo @gigara @tharindulak
/workspaces/common-libs/ @hevayo @gigara @tharindulak
/workspaces/mi/ @hevayo @gigara @kaumini
/workspaces/ballerina/ballerina-core/src/interfaces/extended-lang-client.ts @hevayo @axewilledge @kanushka
/workspaces/ballerina/ballerina-rpc-client @hevayo @axewilledge @kanushka
/workspaces/choreo/ @kaje94
/workspaces/wso2-platform/ @kaje94
* @hevayo @gigara
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/01-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Bug Report
description: Create a report to help us improve
title: "[Bug] "
labels: [bug]
body:
- type: markdown
attributes:
value: |
## Describe the bug
- type: textarea
id: bug-description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is.
validations:
required: true
- type: markdown
attributes:
value: |
## To Reproduce
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: Steps to reproduce the behavior.
value: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
- type: input
id: environment
attributes:
label: Environment (OS, VS Code version, Extension version, Node.js version)
description: Please specify your environment details.
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context about the problem here.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/02-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Feature Request
description: Suggest an idea or enhancement for this project
title: "[Feature] "
labels: [enhancement]
body:
- type: textarea
id: related-problem
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is.
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
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: additional-context
attributes:
label: Additional Context
description: Add any other context or screenshots about the feature request here.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/03-improvement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Improvement Suggestion
description: Suggest a non-breaking improvement to an existing feature or workflow
title: "[Improvement] "
labels: [improvement]
body:
- type: textarea
id: related-problem
attributes:
label: Is your improvement related to a problem? Please describe.
description: A clear and concise description of what the problem is.
- type: textarea
id: improvement
attributes:
label: Describe the improvement you'd like
description: A clear and concise description of the improvement or enhancement you are proposing.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or approaches you've considered.
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context or screenshots about the improvement suggestion here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/04-question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Question
description: Ask a question about this project, its usage, or development
title: "[Question] "
labels: [question]
body:
- type: textarea
id: question
attributes:
label: Your question
description: Please clearly state your question.
validations:
required: true
- type: textarea
id: context
attributes:
label: Context
description: Provide any relevant context, code snippets, or screenshots that might help us answer your question.
- type: textarea
id: additional-details
attributes:
label: Additional Details
description: Add any other details or information related to your question here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/05-task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Task
description: Request a specific task, update, or maintenance work
title: "[Task] "
labels: [task]
body:
- type: textarea
id: task-description
attributes:
label: Task description
description: Clearly describe the task that needs to be completed.
validations:
required: true
- type: textarea
id: acceptance-criteria
attributes:
label: Acceptance criteria
description: List the criteria that must be met for this task to be considered complete.
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context, references, or details related to this task here.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: WSO2 Community Support
url: https://wso2.com/community/
about: Please visit our community page for more support options.
83 changes: 83 additions & 0 deletions .github/actions/dailyBuildNotification/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: 'Upload vsix to artifacts and notify'
inputs:
title:
description: 'Relase name'
required: true
fileName:
description: 'File name'
required: true
chatAPI:
description: 'Google chat API'
required: true

runs:
using: "composite"
steps:
- name: Get version
shell: bash
id: vsix
run: |
file=$(ls ${{ inputs.fileName }}-[0-9]*.[0-9]*.[0-9]*.vsix)
fileName=${file##*-}
version=${fileName%.*}
extension=${{ inputs.fileName }}
extensionName="$(echo "$extension" | sed 's/.*/\u&/')"
echo "vsixName=$file" >> $GITHUB_OUTPUT
echo "version=$version" >> $GITHUB_OUTPUT
echo "extensionName=$extensionName" >> $GITHUB_OUTPUT

- name: Save VSIX
uses: actions/upload-artifact@v4
id: artifact-upload
with:
path: ${{ steps.vsix.outputs.vsixName }}
name: Vsix-Artifact-${{ inputs.fileName }}

- name: "Release Notification"
shell: bash
run: |
body=$(cat << EOF
{
"cards": [
{
"header": {
"title": "Daily Build",
},
"sections": [
{
"widgets": [
{
"keyValue": {
"topLabel": "${{ inputs.title }}",
"content": "v${{ steps.vsix.outputs.version }}",
"onClick": {
"openLink": {
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
},
"iconUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Visual_Studio_Code_1.35_icon.svg/512px-Visual_Studio_Code_1.35_icon.svg.png",
"button": {
"textButton": {
"text": "Download VSIX",
"onClick": {
"openLink": {
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.artifact-upload.outputs.artifact-id }}"
}
}
}
}
}
}
]
}
]
}
]
}
EOF
)
curl \
-X POST \
-H 'Content-Type: application/json' \
"${{ inputs.chatAPI }}" \
-d "$body"
64 changes: 64 additions & 0 deletions .github/actions/failure-notification/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: 'Failure Notification'
description: 'Send a failure notification to chat'
inputs:
title:
description: 'Notification title'
required: true
run_id:
description: 'GitHub workflow run ID'
required: true
chat_api:
description: 'Chat API endpoint'
required: true
repository:
description: 'Repository name'
required: true
runs:
using: "composite"
steps:
- shell: bash
run: |
body=$(cat << EOF
{
"cards": [
{
"header": {
"title": "${{ inputs.title }}",
},
"sections": [
{
"widgets": [
{
"textParagraph": {
"text": "<b>&#x274C; Repository: <font color=\"#ff0000\">${{ inputs.repository }}</font></b>"
}
},
{
"keyValue": {
"topLabel": "Workflow run ID",
"content": "${{ inputs.run_id }}",
"button": {
"textButton": {
"text": "View Workflow",
"onClick": {
"openLink": {
"url": "https://github.com/${{ inputs.repository }}/actions/runs/${{ inputs.run_id }}"
}
}
}
}
}
}
]
}
]
}
]
}
EOF
)
curl \
-X POST \
-H 'Content-Type: application/json' \
"${{ inputs.chat_api }}" \
-d "$body"
Loading