Compare commits
3
Commits
fcf29dda67
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33e0878e01 | ||
|
|
8c47b6db34 | ||
|
|
6fe4aad915 |
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:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
dependabot:
|
||||
auto-merge:
|
||||
runs-on: ubuntu-latest
|
||||
# Only for Dependabot PRs
|
||||
if: github.actor == 'dependabot[bot]'
|
||||
steps:
|
||||
- name: Auto-merge
|
||||
run: gh pr merge --auto --merge "$PR_NUMBER"
|
||||
- name: Enable auto-merge for Dependabot PR
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_NUMBER: ${{ github.event.number }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -4,20 +4,7 @@ updates:
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
day: "monday"
|
||||
time: "05:00"
|
||||
timezone: "Asia/Makassar"
|
||||
open-pull-requests-limit: 10
|
||||
assignees:
|
||||
- "asepharyana"
|
||||
commit-message:
|
||||
prefix: "chore"
|
||||
prefix-development: "chore"
|
||||
include: "scope"
|
||||
reviewers:
|
||||
- "asepharyana"
|
||||
labels:
|
||||
- "dependencies"
|
||||
groups:
|
||||
production:
|
||||
dependency-type: "production"
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
bun-version: "1.4.0"
|
||||
|
||||
- name: Install deps
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
@@ -9,7 +9,20 @@
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
(self: super: {
|
||||
bun = super.bun.overrideAttrs (old: rec {
|
||||
version = "1.4.0";
|
||||
src = super.fetchzip {
|
||||
url = "https://github.com/oven-sh/bun/releases/download/bun-v1.4.0/bun-linux-x64.zip";
|
||||
sha256 = "sha256:Poy0vf7yJ/hzk33QiQj5gnshI5Q7dfbaMD7xgwiyDKw=";
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
packages.default = pkgs.stdenvNoCC.mkDerivation {
|
||||
|
||||
Reference in new issue
Block a user