-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 1.13 KB
/
pull-request.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: PRs
on:
pull_request:
types: [opened, synchronize, labeled]
jobs:
renovate:
name: 🔍 Update Lockfile & Add Changeset
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'Dependency')
permissions:
contents: write
pull-requests: write
steps:
- name: 🕶️ Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
token: ${{ secrets.MACHINE_USER }}
- name: 📦 Install
uses: ./.github/common/install
- name: 🚚 Update PR
uses: mscharley/dependency-changesets-action@v1.0.11
with:
token: ${{ secrets.MACHINE_USER }}
use-conventional-commits: false
commit-message: 'Deps: Add changeset.'
author-name: nordcombot
author-email: opensource@nordcom.io