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

updater

updater #28

Workflow file for this run

name: updater
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
updater:
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 -A https://den.ooo/updater@v0.14.0/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@v6
with:
title: 'refactor: update dependencies'
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 dependencies'
body: '${{ env.CHANGELOG }}'
labels: 'dependencies'
delete-branch: true
branch: 'refactor/dependencies'