-
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.
- Loading branch information
Showing
15 changed files
with
3,110 additions
and
32 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,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help us improve | ||
title: "" | ||
labels: ["bug"] | ||
assignees: '' | ||
--- | ||
|
||
#### Describe the bug | ||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
#### To Reproduce | ||
<!-- Steps that can be taken to reproduce the behaviour --> | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
#### Expected behavior | ||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
#### Screenshots | ||
<!-- If applicable, add screenshots to help explain your problem. --> | ||
|
||
#### Logs | ||
<!-- If applicable, add logs to help explain your problem. --> | ||
|
||
#### Environment | ||
|
||
- Charm / library version (if relevant): <!-- e.g. 1.2 --> | ||
- Juju version (output from `juju --version`): | ||
- Cloud Environment: <!-- e.g. GKE --> | ||
- Kubernetes version (output from `kubectl version --short`): | ||
|
||
#### Additional context | ||
|
||
<!-- Add any other context about the problem here. --> |
28 changes: 28 additions & 0 deletions
28
.github/actions/ec2-github-runner/.github/workflows/package.yml
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,28 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
name: Package | ||
|
||
jobs: | ||
package: | ||
name: Package distribution files | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
- name: Install packages | ||
run: npm ci | ||
- name: Run linter | ||
run: npm run lint | ||
- name: Package | ||
run: npm run package | ||
- name: Commit | ||
run: | | ||
git config --global user.name "GitHub Actions" | ||
git add dist/ | ||
git commit -m "Update dist" || echo "No changes to commit" | ||
git push origin main |
21 changes: 21 additions & 0 deletions
21
.github/actions/ec2-github-runner/.github/workflows/pr.yml
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: PR automations | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
lint-code: | ||
name: Lint code | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Cache dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: '**/node_modules' | ||
key: ec2-github-runner-${{ hashFiles('**/package-lock.json') }} | ||
- name: Install packages | ||
run: npm install | ||
- name: Run linter | ||
run: npm run lint |
Oops, something went wrong.