-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.05 KB
/
udd.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
name: udd-update-dependencies
on:
workflow_dispatch:
schedule:
- cron: "42 19 * * *"
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x
- name: Update dependencies
run: |
deno run -A https://deno.land/x/udd/main.ts deps.ts
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
id: cpr
with:
commit-message: "Update dependencies"
title: Update dependencies
body: >
Dependencies updated by [udd](https://github.com/hayd/deno-udd).
branch: deno-dependency-updates
author: GitHub <noreply@github.com>
delete-branch: true
token: ${{ secrets.GH_PAT }}
- name: Enable Pull Request Automerge
if: ${{ steps.cpr.outputs.pull-request-url }}
run: gh pr merge --merge --auto ${{ steps.cpr.outputs.pull-request-url }}
env:
GH_TOKEN: ${{ secrets.GH_PAT }}