Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

update

update #53

Workflow file for this run

name: update
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run update
run: |
deno run -Ar https://deno.land/x/update/mod.ts -c
CHANGELOG=$(cat updates_changelog.md)
echo "CHANGELOG<<EOF" >> $GITHUB_ENV
echo "$CHANGELOG" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
rm updates_changelog.md
- name: Create pull request
uses: peter-evans/create-pull-request@v5
with:
title: 'refactor: update deps'
author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
committer: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
commit-message: 'refactor: update deps'
body: '${{ env.CHANGELOG }}'
labels: 'deps'
delete-branch: true
branch: 'refactor/deps'