-
Notifications
You must be signed in to change notification settings - Fork 32
36 lines (33 loc) · 1.1 KB
/
bun.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Maintain bun.lockb
on:
push:
branches: [main]
paths:
- 'package-lock.json'
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: bun install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1
with:
bun-version: latest
- run: bun install
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2
id: generate-token
with:
app_id: ${{ secrets.ECOSPARK_APP_ID }}
private_key: ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }}
- uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
with:
author: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
body: I ran `bun install` 🧑💻
branch: actions/maintain-bun-lock
commit-message: 'chore(bun): update bun lockfile'
labels: 🤖 bot
title: 'chore(bun): update bun lockfile'
token: ${{ steps.generate-token.outputs.token }}