forked from google/go-containerregistry
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (28 loc) · 786 Bytes
/
Copy pathbump-deps.yaml
File metadata and controls
34 lines (28 loc) · 786 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
31
32
33
34
name: Bump Deps
on:
schedule:
- cron: '0 6 * * 2' # weekly at 6AM Tuesday
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
bump-deps:
name: Bump Deps
# Don't bother bumping deps on forks.
if: ${{ github.repository == 'google/go-containerregistry' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: ./hack/bump-deps.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "Bump dependencies using hack/bump-deps.sh"
commit-message: "Bump dependencies using hack/bump-deps.sh"
labels: dependencies
assignees: imjasonh
delete-branch: true