Debian Codegraph @

.github/workflows/bump-deps.yml

raw symbols SCIP
1 # adapted based on
2 # https://github.com/google/go-containerregistry/blob/main/.github/workflows/bump-deps.yaml
3 name: Bump Deps
4
5 on:
6 schedule:
7 - cron: '0 10 * * 2' # weekly at 10AM Tuesday
8 workflow_dispatch:
9
10 permissions:
11 contents: write
12 pull-requests: write
13
14 jobs:
15 bump-deps:
16 name: Bump Deps
17
18 # Don't bother bumping deps on forks.
19 if: ${{ github.repository == 'awslabs/soci-snapshotter' }}
20 runs-on: ubuntu-20.04
21
22 steps:
23 - uses: actions/checkout@v3
24 - uses: actions/setup-go@v4
25 with:
26 go-version: '1.20.6'
27
28 - run: ./scripts/bump-deps.sh
29 - name: Create Pull Request
30 uses: peter-evans/create-pull-request@v5
31 with:
32 title: "Bump dependencies using scripts/bump-deps.sh"
33 commit-message: "Bump dependencies using scripts/bump-deps.sh"
34 body: "This PR created by [create-pull-request](https://github.com/peter-evans/create-pull-request) must be closed and reopened manually to trigger automated checks."
35 labels: dependencies
36 delete-branch: true
37 author: "GitHub <[email protected]>"
38 signoff: true