v0.1.0
A simple Github workflow for updating your dependencies in Deno.
Repository
Current version released
3 years ago
bump
Add this workflow to your repository to bump your dependencies:
name: 'bump'
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
jobs:
bump:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3'
- uses: 'denoland/setup-deno@v1'
with:
deno-version: 'v1.x'
- name: 'bump dependencies'
run: |
deno run -A https://deno.gg/bump@v0
CHANGELOG=$(cat dependencies_changelog.md)
echo "CHANGELOG<<EOF" >> $GITHUB_ENV
echo "$CHANGELOG" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
rm dependencies_changelog.md
- name: 'create pull request'
uses: 'peter-evans/create-pull-request@v4.2.3'
with:
title: 'bump dependencies'
author: 'GitHub <noreply@github.com>'
commit-message: 'bump dependencies'
body: '${{ env.CHANGELOG }}'
labels: 'dependencies'
delete-branch: true
branch: 'bump'