update-deno-dependencies #155
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update-deno-dependencies | |
# https://gist.github.com/kawarimidoll/2f43533e5fbe319f4bc9bb255c73a02d | |
on: | |
workflow_dispatch: | |
schedule: | |
# 00:00 on every Sunday (UTC) | |
- cron: "0 0 * * 0" | |
jobs: | |
udd: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: denoland/setup-deno@v1 | |
- name: Update dependencies | |
run: > | |
deno run -A https://deno.land/x/udd/main.ts | |
$(find . -name "*.ts") --test="deno test -Ar" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: "chore(deps): update deno dependencies" | |
title: Update Deno Dependencies | |
body: > | |
Automated updates by [deno-udd](https://github.com/hayd/deno-udd) | |
and [create-pull-request](https://github.com/peter-evans/create-pull-request) | |
GitHub action | |
branch: update-deno-dependencies | |
author: GitHub <[email protected]> | |
delete-branch: true |