Compare commits
3
Commits
a7ce5ad949
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1172c78efb | ||
|
|
18e021cb7f | ||
|
|
00fec3b38f |
No files matched your search
@@ -1,24 +1,17 @@
|
|||||||
name: dependabot-auto-merge
|
name: Dependabot Auto-Merge
|
||||||
|
on: pull_request
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
|
|
||||||
# Auto-merge Dependabot PRs with passing CI
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dependabot:
|
auto-merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Only for Dependabot PRs
|
|
||||||
if: github.actor == 'dependabot[bot]'
|
if: github.actor == 'dependabot[bot]'
|
||||||
steps:
|
steps:
|
||||||
- name: Auto-merge
|
- name: Enable auto-merge for Dependabot PR
|
||||||
run: gh pr merge --auto --merge "$PR_NUMBER"
|
run: gh pr merge --auto --merge "$PR_URL"
|
||||||
env:
|
env:
|
||||||
PR_NUMBER: ${{ github.event.number }}
|
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -4,20 +4,7 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
day: "monday"
|
|
||||||
time: "05:00"
|
|
||||||
timezone: "Asia/Makassar"
|
|
||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
assignees:
|
|
||||||
- "asepharyana"
|
|
||||||
commit-message:
|
|
||||||
prefix: "chore"
|
|
||||||
prefix-development: "chore"
|
|
||||||
include: "scope"
|
|
||||||
reviewers:
|
|
||||||
- "asepharyana"
|
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
groups:
|
groups:
|
||||||
production:
|
production:
|
||||||
dependency-type: "production"
|
dependency-type: "production"
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM oven/bun:1.3-alpine
|
FROM oven/bun:1.4-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install curl for IPv6 source rotation
|
# Install curl for IPv6 source rotation
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ PORT=4090 CACHE_TTL=600000 bun src/index.ts
|
|||||||
- **Docker**:
|
- **Docker**:
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
FROM oven/bun:latest
|
FROM oven/bun:1.4-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json bun.lock .
|
COPY package.json bun.lock .
|
||||||
RUN bun install
|
RUN bun install
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"framework": null,
|
"framework": null,
|
||||||
"bunVersion": "1.x",
|
"bunVersion": "1.4.0",
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
{ "source": "/(.*)", "destination": "/api/relay" }
|
{ "source": "/(.*)", "destination": "/api/relay" }
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user