forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 1.06 KB
/
yarn-update.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
37
38
39
40
41
42
43
44
45
# Copyright © Michal Čihař <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
# This file is maintained in https://github.com/WeblateOrg/meta/
name: yarn update
on:
push:
branches:
- renovate/**
- main
paths:
- .github/workflows/yarn-update.yml
- scripts/yarn-update
- scripts/yarn/*
permissions:
contents: read
jobs:
yarn-update:
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- run: ./scripts/yarn-update
- name: Update branch
if: github.ref != 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'js: Update vendored libraries'
- name: Create Pull Request
if: github.ref == 'refs/heads/main'
uses: peter-evans/create-pull-request@v5
with:
branch: create-pull-request/yarn-update
title: 'js: Update vendored libraries'
commit-message: 'js: Update vendored libraries'
labels: |
dependencies
automerge