Skip to content

Sync-Releases

Sync-Releases #1331

Workflow file for this run

name: Sync-Releases
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
update-releasesmd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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@v4
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