Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 70b041d

Browse files
asafMasaasafMasa
andauthored
chore: add basic workflows (#1)
Co-authored-by: asafMasa <asafMasa@donotreplay.com>
1 parent 5e5e54e commit 70b041d

File tree

9 files changed

+200
-0
lines changed

9 files changed

+200
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
Make sure you've read the contributing guidelines (CONTRIBUTING.md)
3+
-->
4+
5+
| Question | Answer |
6+
| --------------- | ------ |
7+
| Bug fix | ✔/✖ |
8+
| New feature | ✔/✖ |
9+
| Breaking change | ✔/✖ |
10+
| Deprecations | ✔/✖ |
11+
| Documentation | ✔/✖ |
12+
| Tests added | ✔/✖ |
13+
| Chore | ✔/✖ |
14+
15+
Related issues: #XXX , #XXX ...
16+
Closes #XXX ...
17+
18+
Further information:
19+
20+
<!--
21+
Here you can provide more information regarding any of the questions written above.
22+
In addition, you can add screenshots, ask the maintainers questions.
23+
-->

.github/dependabot.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
2+
version: 2
3+
updates:
4+
# deps
5+
- package-ecosystem: npm
6+
target-branch: 'master'
7+
schedule:
8+
interval: weekly
9+
allow:
10+
- dependency-type: production
11+
directory: /
12+
commit-message:
13+
prefix: 'deps'
14+
groups:
15+
map-colonies:
16+
patterns:
17+
- '@map-colonies/*'
18+
opentelemetry:
19+
patterns:
20+
- '@opentelemetry/*'
21+
patch:
22+
update-types:
23+
- patch
24+
# dev-deps
25+
- package-ecosystem: npm
26+
schedule:
27+
interval: weekly
28+
allow:
29+
- dependency-type: development
30+
directory: /
31+
commit-message:
32+
prefix: 'devdeps'
33+
groups:
34+
map-colonies:
35+
patterns:
36+
- '@map-colonies/*'
37+
opentelemetry:
38+
patterns:
39+
- '@opentelemetry/*'
40+
types:
41+
patterns:
42+
- '@types/*'
43+
dev-patch:
44+
update-types:
45+
- patch
46+
47+
# github deps
48+
- package-ecosystem: github-actions
49+
schedule:
50+
interval: weekly
51+
commit-message:
52+
prefix: 'ci'
53+
directory: '/'
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: PR Author Auto Assign
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened]
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
assign-author:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: toshimaru/auto-author-assign@v2.1.1
15+
with:
16+
repo-token: ${{ secrets.GH_PAT }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Jira Integration
2+
on:
3+
pull_request:
4+
types: [opened, edited]
5+
6+
permissions:
7+
statuses: write
8+
pull-requests: write
9+
10+
jobs:
11+
jira-validation:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: mapcolonies/javascript-github-actions/actions/jira-integration@jira-integration-v1.0.1
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
# this assumes that you have created a personal access token
19+
# (PAT) and configured it as a GitHub action secret named
20+
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
21+
token: ${{ secrets.GH_PAT }}

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{".": "1.0.0"}

release-please-config.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "simple",
4+
"include-component-in-tag": false,
5+
"packages": {
6+
".": {
7+
"extra-files": [
8+
]
9+
}
10+
},
11+
"changelog-sections": [
12+
{ "type": "feat", "section": "Features" },
13+
{ "type": "fix", "section": "Bug Fixes" },
14+
{ "type": "revert", "section": "Reverts" },
15+
{ "type": "helm", "section": "Helm Changes", "hidden": false },
16+
{ "type": "deps", "section": "Dependency Updates", "hidden": false },
17+
{ "type": "devdeps", "section": "Dev Dependency Updates", "hidden": true },
18+
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
19+
{ "type": "build", "section": "Build System", "hidden": false },
20+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": true },
21+
{ "type": "docs", "section": "Documentation", "hidden": true },
22+
{ "type": "style", "section": "Styles", "hidden": true },
23+
{ "type": "test", "section": "Tests", "hidden": true },
24+
{ "type": "ci", "section": "Continuous Integration", "hidden": true }
25+
]
26+
}

0 commit comments

Comments
 (0)