Repository navigation
55 lines (45 loc) · 1.62 KB
/
Copy pathdigestabot.yaml
File metadata and controls
55 lines (45 loc) · 1.62 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2026 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
name: Image digest update
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *"
permissions: {}
jobs:
image-update:
name: Image digest update
runs-on: ubuntu-latest
if: github.repository == 'chainguard-dev/edu'
permissions:
contents: read
id-token: write
steps:
- uses: step-security/harden-runner@dc2769abcc0fcfbadfc1df54081c1608579ef6b2 # v2.22.2
with:
egress-policy: block
allowed-endpoints: >
*.blob.core.windows.net:443
*.githubapp.com:443
api.github.com:443
cgr.dev:443
fulcio.sigstore.dev:443
github.com:443
octo-sts.dev:443
rekor.sigstore.dev:443
release-assets.githubusercontent.com:443
tuf-repo-cdn.sigstore.dev:443
- uses: chainguard-dev/actions/setup-gitsign@53668650c25af6e8864f1d1ddaa69ed4db4cdf09 # v1.6.42
- uses: octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1
id: octo-sts
with:
scope: ${{ github.repository }}
identity: digestabot
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# zizmor: ignore[artipacked] - credentials needed for digestabot to push and create PRs
with:
token: ${{ steps.octo-sts.outputs.token }}
- uses: chainguard-dev/digestabot@33d0b78e580aa0c83fe188eb3dfad6611b662479 # v1.3.2
with:
token: ${{ steps.octo-sts.outputs.token }}
include-files: ".github/workflows/*.yaml,Dockerfile*"