Update Deno Dependencies #76
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 | |
on: | |
schedule: | |
- cron: "0 18 * * 0" # Every Sunday 18:00 UTC | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: denoland/setup-deno@v1 | |
- name: Update Dependencies | |
run: | | |
deno run -A https://deno.land/x/udd/main.ts ./import_map.json | |
- name: Run Tests | |
run: | | |
deno task test | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
title: "chore(deps): Update dependencies" | |
body: | | |
Automated changes created by workflow run [${{github.run_id}}](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}). | |
commit-message: "chore(deps): Update dependencies" | |
delete-branch: true |