-
Notifications
You must be signed in to change notification settings - Fork 44
33 lines (30 loc) · 1.3 KB
/
sync-releases.yml
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
name: Sync-Releases
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
update-releasesmd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update dependencies
id: vars
run: |
curl -o content/releases.md https://raw.githubusercontent.com/containerd/containerd/master/RELEASES.md
sed -i'' 's,^# Versioning and Release$,---\ntitle: Versioning and release\n---,' content/releases.md
sed -i'' 's,| \[api/\](api),| \[gRPC API\](#grpc),' content/releases.md
sed -i'' 's, See \[api/\](api) for details.,,' content/releases.md
sed -i'' 's,^### GRPC API,### GRPC API {#grpc},' content/releases.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: |
keep releases.md in sync with containerd/containerd
Signed-off-by: Samuel Karp <[email protected]>
committer: Samuel Karp <[email protected]>
author: Samuel Karp <[email protected]>
title: Automated RELEASES.md sync update
body: This is an auto-generated PR to sync updates in the main containerd project's RELEASES.md file.
branch: dep-updates