Skip to content

Commit 0cc15dd

Browse files
authored
Merge pull request #60 from devakone/develop
Release: develop → main
2 parents 6d3a4f3 + 8fa0a5e commit 0cc15dd

6 files changed

Lines changed: 125 additions & 48 deletions

File tree

.github/dependabot.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10
8+
labels:
9+
- "dependencies"
10+
- "security"
11+
12+
- package-ecosystem: "npm"
13+
directory: "/apps/web"
14+
schedule:
15+
interval: "weekly"
16+
open-pull-requests-limit: 10
17+
labels:
18+
- "dependencies"
19+
- "security"
20+
21+
- package-ecosystem: "npm"
22+
directory: "/packages/core"
23+
schedule:
24+
interval: "weekly"
25+
open-pull-requests-limit: 10
26+
labels:
27+
- "dependencies"
28+
- "security"
29+
30+
- package-ecosystem: "npm"
31+
directory: "/packages/db"
32+
schedule:
33+
interval: "weekly"
34+
open-pull-requests-limit: 10
35+
labels:
36+
- "dependencies"
37+
- "security"
38+
39+
- package-ecosystem: "npm"
40+
directory: "/apps/worker"
41+
schedule:
42+
interval: "weekly"
43+
open-pull-requests-limit: 10
44+
labels:
45+
- "dependencies"
46+
- "security"

.github/workflows/codeql.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
schedule:
13+
- cron: "0 6 * * 1"
14+
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
jobs:
21+
analyze:
22+
name: Analyze
23+
runs-on: ubuntu-latest
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
language:
28+
- javascript-typescript
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v4
32+
33+
- name: Initialize CodeQL
34+
uses: github/codeql-action/init@v3
35+
with:
36+
languages: ${{ matrix.language }}
37+
38+
- name: Autobuild
39+
uses: github/codeql-action/autobuild@v3
40+
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v3

.github/workflows/release-pr.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,33 @@ jobs:
106106
--body-file "$BODY_FILE"
107107
else
108108
echo "Creating new release PR"
109-
gh pr create \
110-
--base main \
111-
--head develop \
112-
--title "$PR_TITLE" \
113-
--body-file "$BODY_FILE"
109+
set +e
110+
CREATE_OUTPUT="$(
111+
gh pr create \
112+
--base main \
113+
--head develop \
114+
--title "$PR_TITLE" \
115+
--body-file "$BODY_FILE" 2>&1
116+
)"
117+
CREATE_EXIT=$?
118+
set -e
119+
120+
if [ "$CREATE_EXIT" -eq 0 ]; then
121+
echo "$CREATE_OUTPUT"
122+
exit 0
123+
fi
124+
125+
if echo "$CREATE_OUTPUT" | grep -q "No commits between main and develop"; then
126+
echo "No commits between main and develop. Skipping PR creation."
127+
exit 0
128+
fi
129+
130+
if echo "$CREATE_OUTPUT" | grep -q "Resource not accessible by integration"; then
131+
echo "::warning::Unable to create release PR with GitHub Actions token. Add RELEASE_PR_TOKEN secret (PAT with repo scope) to enable automatic creation."
132+
echo "$CREATE_OUTPUT"
133+
exit 0
134+
fi
135+
136+
echo "$CREATE_OUTPUT"
137+
exit "$CREATE_EXIT"
114138
fi
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
".": "0.1.0-alpha.22",
2+
".": "0.1.0-alpha.23",
33
"apps/web": "0.1.0-alpha.21",
44
"apps/worker": "0.1.0-alpha.3"
55
}

CHANGELOG-DEVELOP.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.1.0-alpha.23](https://github.com/devakone/vibe-coding-profiler/compare/vibe-coding-profiler-v0.1.0-alpha.22...vibe-coding-profiler-v0.1.0-alpha.23) (2026-02-15)
4+
5+
6+
### Bug Fixes
7+
8+
* **ci:** handle release PR create permission fallback ([310e6ec](https://github.com/devakone/vibe-coding-profiler/commit/310e6ec23b0d34181a4a75c14dfb07625e6a8e43))
9+
310
## [0.1.0-alpha.22](https://github.com/devakone/vibe-coding-profiler/compare/vibe-coding-profiler-v0.1.0-alpha.21...vibe-coding-profiler-v0.1.0-alpha.22) (2026-02-12)
411

512

apps/web/src/app/api/share-debug/route.tsx

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)