-
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@v3
- uses: oven-sh/setup-bun@4573031972107e0af692492ee967d9022deafd7b # v1
with:
bun-version: latest
- run: bun install
- uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1
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 }}