-
Notifications
You must be signed in to change notification settings - Fork 2.1k
37 lines (34 loc) · 1.18 KB
/
container-version.yaml
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
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'
name: busybox-update workflow
permissions:
contents: read
jobs:
checkVersionAndCreatePR:
permissions:
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Run busybox updater
run: |
chmod +x ./scripts/busybox-updater.sh
./scripts/busybox-updater.sh
shell: bash
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
signoff: true
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Updates busybox SHA'
branch: update-sha-action
delete-branch: true
title: '*: Updates Prometheus BusyBox image SHAs'
body: >
This PR is auto-generated by
[create-pull-request](https://github.com/peter-evans/create-pull-request).
labels: busybox, automated pr