Skip to content

Commit

Permalink
Remove invalid links when copying in markdown
Browse files Browse the repository at this point in the history
This could become brittle, but for now seems like a reasonable quick fix
to not have dead links in the copied-in releases.md from the main
containerd repository.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
  • Loading branch information
estesp committed Mar 9, 2020
1 parent 64a77ad commit 00b7fb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/sync-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
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@v2
with:
Expand Down

0 comments on commit 00b7fb2

Please sign in to comment.