-
Notifications
You must be signed in to change notification settings - Fork 32
36 lines (33 loc) · 1.06 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@123c6c4e2fea3eb7bffaa91a85eb6b3d505bf7af # v2
with:
bun-version: latest
- run: bun install
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.ECOSPARK_APP_ID }}
private-key: ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }}
- uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6
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.app-token.outputs.token }}