-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (41 loc) · 1.47 KB
/
Copy pathupdate-images-versions-map.yml
File metadata and controls
48 lines (41 loc) · 1.47 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
# SPDX-License-Identifier: MIT
name: Update package versions
on:
schedule:
# Weekly on Monday at midnight UTC
- cron: "0 0 * * 1"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-versions:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run update script
run: python3 scripts/update-versions.py
- name: Check for changes
id: changes
run: |
if git diff --quiet; then
echo "changed=false" >> "$GITHUB_OUTPUT"
else
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Create pull request
if: steps.changes.outputs.changed == 'true'
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
branch: auto/update-versions
delete-branch: true
base: ${{ github.event.repository.default_branch }}
title: "Update package versions from runner-images"
draft: true
body: |
Automated weekly update of package versions from
[actions/runner-images](https://github.com/actions/runner-images) latest Ubuntu 24.04 release.
**Note:** SHA256/SHA512 hashes are NOT updated by this PR.
They must be updated manually before merging.
commit-message: "chore: update package versions from runner-images"