Skip to content

Commit 5358d39

Browse files
committed
Merge branch 'release/5.32.0'
2 parents 58c2384 + 0dc92fb commit 5358d39

28 files changed

Lines changed: 157 additions & 80 deletions

.github/copilot.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# @format
2+
3+
instructions:
4+
pull_request:
5+
title:
6+
description: >
7+
Titles for pull requests must follow Conventional Commit rules. Start with a type (e.g., feat, fix, docs, style, refactor, perf, test, chore) followed by a colon and a brief summary. Optionally, add a scope in parentheses. Example: "feat(parser): add support for new syntax".
8+
examples:
9+
- 'feat(login): add OAuth2 support'
10+
- 'fix(api): correct null pointer error in user endpoint'
11+
- 'docs(readme): update installation instructions'
12+
- 'refactor(auth): streamline token validation logic'
13+
- 'chore(deps): bump version of express to 4.18.2'
14+
must_match_regex: '^(feat|fix|docs|style|refactor|perf|test|chore)(\([a-z0-9\-]+\))?:\s.+'
15+
error_message: >
16+
Pull request titles must follow Conventional Commit rules (e.g., "feat(login): add OAuth2 support"). Please update your PR title.

.github/workflow/rebase-pr.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# @format
2+
3+
name: Automatic Rebase
4+
on:
5+
issue_comment:
6+
types: [created]
7+
jobs:
8+
rebase:
9+
name: Rebase
10+
runs-on: ubuntu-latest
11+
if: >-
12+
github.event.issue.pull_request != '' &&
13+
(
14+
contains(github.event.comment.body, '/rebase') ||
15+
contains(github.event.comment.body, '/autosquash')
16+
)
17+
steps:
18+
- name: Checkout the latest code
19+
uses: actions/checkout@v3
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
23+
- name: Automatic Rebase
24+
uses: cirrus-actions/rebase@1.8
25+
with:
26+
autosquash: ${{ contains(github.event.comment.body, '/autosquash') || contains(github.event.comment.body, '/rebase-autosquash') }}
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
# Changelog
44

5+
## 5.32.0 (2025-12-18)
6+
7+
_Commits from: v5.31.2..HEAD_
8+
9+
### 📂 Unscoped changes
10+
11+
#### Bug Fixes
12+
13+
- 🐛 improve repository name extraction and refactor commit selection logic ([23878f6](https://github.com/tomgrv/devcontainer-features/commit/23878f609db5b6698de983b66f3c04345aacd105))
14+
- 🐛 update lint-staged configuration to exclude templates directory from formatting ([09cc5f6](https://github.com/tomgrv/devcontainer-features/commit/09cc5f66566eaef5fc593a43cb7246e48439104d))
15+
16+
#### Features
17+
18+
- ✨ add credential configuration to gitutils ([bf15932](https://github.com/tomgrv/devcontainer-features/commit/bf159329e4bbb00e4764406dce66f2826ab19b6e))
19+
- ✨ add stubs for package.json and composer.json files ([f9a0ded](https://github.com/tomgrv/devcontainer-features/commit/f9a0ded61831c7758aa71fa7981c6111835eb46f))
20+
21+
#### Other changes
22+
23+
- 👷 add GitHub Actions workflows ([5ddaa96](https://github.com/tomgrv/devcontainer-features/commit/5ddaa96bc8988e4a0aeff189437d7114296e69e0))
24+
- Merge branch 'main' into develop ([64567b0](https://github.com/tomgrv/devcontainer-features/commit/64567b0fa68c20e45c670aa00e61bf2429a555c4))
25+
- Merge tag 'v5.31.1' into develop ([4f0aabf](https://github.com/tomgrv/devcontainer-features/commit/4f0aabf21847feb605e45e0a3b8db52315086821))
26+
527
## 5.31.2 (2025-10-09)
628

729
_Commits from: v5.31.1..HEAD_
@@ -316,4 +338,4 @@ _Commits from: v5.25.0..HEAD_
316338

317339
---
318340

319-
_Generated on 2025-10-09 by [tomgrv/devcontainer-features](https://github.com/tomgrv/devcontainer-features)_
341+
_Generated on 2025-12-18 by [tomgrv/devcontainer-features](https://github.com/tomgrv/devcontainer-features)_

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tomgrv/devcontainer-features",
3-
"version": "5.31.2",
3+
"version": "5.32.0",
44
"description": "Configure dev environment with devcontainer, gitflow, gitversion, git aliases & hooks. Can be used a devcontainer features",
55
"keywords": [
66
"dev",

src/act/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "act",
33
"name": "Nektos Act",
44
"description": "A tool for running GitHub Actions locally",
5-
"version": "5.31.1",
5+
"version": "5.32.0",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/docker-in-docker": {},
88
"ghcr.io/tomgrv/devcontainer-features/common-utils:5": {}

src/act/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tomgrv/act",
3-
"version": "5.31.1",
3+
"version": "5.32.0",
44
"description": "Nektos Act - GitHub Actions local runner integration",
55
"files": [
66
"_*.sh",

src/common-utils/_configure-feature.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,17 @@ zz_log i "Merge all package folder json files into top level xxx.json"
8181

8282
for type in package composer; do
8383

84-
# find all package folder json files in the current directory
85-
for package in $(git ls-files "$type.json"); do
84+
# find all package folder json files in the current directory.
85+
# Ensure top-level package.json is included
86+
for package in $(git ls-files -o "$type.json"); do
8687

8788
# Merge all package folder json files into the top-level package.json
8889
for tmpl in $(find $source -maxdepth 1 -name _*.$type.json | sort); do
8990

9091
# Create package.json if it does not exist or is empty
9192
if [ ! -f $package -o ! -s $package ]; then
9293
# Create an empty package.json
93-
echo "{}" >$package
94+
echo '{"private": true}' >$package
9495
fi
9596

9697
# Merge the tmpl & add keys if not already there. make sure source json does not contain any comments

src/common-utils/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "common-utils",
33
"name": "Common Utils",
44
"description": "Common utils for tomgrv/devcontainer-features",
5-
"version": "5.31.1",
5+
"version": "5.32.0",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/common-utils": {}
88
},

src/common-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tomgrv/common-utils",
3-
"version": "5.31.1",
3+
"version": "5.32.0",
44
"description": "Common utilities and helper scripts for devcontainer features",
55
"files": [
66
"_*.sh",

0 commit comments

Comments
 (0)