Skip to content

Commit e32bb1d

Browse files
committed
better
1 parent b18a2c3 commit e32bb1d

2 files changed

Lines changed: 116 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#########################################################################
2+
# Dependabot configuration file
3+
#########################################################################
4+
5+
version: 2
6+
registries:
7+
npm-github:
8+
type: npm-registry
9+
url: https://npm.pkg.github.com
10+
token: ${{secrets.DEPENDABOT_TOKEN}}
11+
12+
updates:
13+
- package-ecosystem: "github-actions"
14+
# Workflow files stored in the
15+
# default location of `.github/workflows`
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
day: "friday"
20+
time: "18:00" # UTC
21+
open-pull-requests-limit: 20
22+
commit-message:
23+
prefix: "Upgrade: [dependabot] - "
24+
cooldown:
25+
default-days: 3
26+
###################################
27+
# Poetry #########################
28+
###################################
29+
- package-ecosystem: "pip"
30+
directory: "/"
31+
schedule:
32+
interval: "weekly"
33+
day: "friday"
34+
time: "20:00" # UTC
35+
open-pull-requests-limit: 20
36+
commit-message:
37+
prefix: "Upgrade: [dependabot] - "
38+
versioning-strategy: increase
39+
cooldown:
40+
default-days: 3
41+
###################################
42+
# NPM workspace ##################
43+
###################################
44+
- package-ecosystem: "npm"
45+
directory: "/"
46+
schedule:
47+
interval: "weekly"
48+
day: "friday"
49+
time: "22:00" # UTC
50+
open-pull-requests-limit: 20
51+
versioning-strategy: increase
52+
commit-message:
53+
prefix: "Upgrade: [dependabot] - "
54+
registries:
55+
- npm-github
56+
cooldown:
57+
default-days: 3

.github/pull_request_template.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
## Summary
2+
3+
**Remove items from this list if they are not relevant. Remove this line once this has been done**
4+
5+
- Routine Change
6+
- :exclamation: Breaking Change
7+
- :robot: Operational or Infrastructure Change
8+
- :sparkles: New Feature
9+
- :warning: Potential issues that might be caused by this change
10+
11+
### Details
12+
13+
Add any summary information of what is in the change. **Remove this line if you have nothing to add.**
14+
15+
## Pull Request Naming
16+
17+
Pull requests should be named using the following format:
18+
19+
```text
20+
Tag: [AEA-NNNN] - Short description
21+
```
22+
23+
Tag can be one of:
24+
25+
- `Fix` - for a bug fix. (Patch release)
26+
- `Update` - either for a backwards-compatible enhancement or for a rule change that adds reported problems. (Patch release)
27+
- `New` - implemented a new feature. (Minor release)
28+
- `Breaking` - for a backwards-incompatible enhancement or feature. (Major release)
29+
- `Docs` - changes to documentation only. (Patch release)
30+
- `Build` - changes to build process only. (No release)
31+
- `Upgrade` - for a dependency upgrade. (Patch release)
32+
- `Chore` - for refactoring, adding tests, etc. (anything that isn't user-facing). (Patch release)
33+
34+
If the current release is x.y.z then
35+
- a patch release increases z by 1
36+
- a minor release increases y by 1
37+
- a major release increases x by 1
38+
39+
Correct tagging is necessary for our automated versioning and release process.
40+
41+
The description of your pull request will be used as the commit message for the merge, and also be included in the changelog. Please ensure that your title is sufficiently descriptive.
42+
43+
### Rerunning Checks
44+
45+
If you need to rename your pull request, you can restart the checks by either:
46+
47+
- Closing and reopening the pull request
48+
- pushing an empty commit
49+
```bash
50+
git commit --allow-empty -m 'trigger build'
51+
git push
52+
```
53+
- Amend your last commit and force push to the branch
54+
```bash
55+
git commit --amend --no-edit
56+
git push --force
57+
```
58+
59+
Rerunning the checks from within the pull request will not use the updated title.

0 commit comments

Comments
 (0)