udd-update-dependencies #230
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: 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@v7 | |
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 <[email protected]> | |
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 }} |