forked from lovell/sharp-libvips
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 843 Bytes
/
latest.yml
File metadata and controls
30 lines (30 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Dependency updates
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *'
permissions: {}
jobs:
latest:
if: github.event.repository.fork == false
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- id: latest
run: |
echo "updates=$(./check-latest-versions.sh)" >> $GITHUB_OUTPUT
if [ -n "$(git status --porcelain)" ]; then
echo "pr=true" >> $GITHUB_OUTPUT
fi
- uses: peter-evans/create-pull-request@v8
if: steps.latest.outputs.pr
with:
commit-message: ${{ steps.latest.outputs.updates }}
sign-commits: true
draft: 'always-true'
title: ${{ steps.latest.outputs.updates }}
body: ''
delete-branch: true