Skip to content

Commit 4c6e4a0

Browse files
author
Kazuyoshi Kato
committed
gha: make release workflow work in forks
Fixes #5098. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 7eceeb9 commit 4c6e4a0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ jobs:
8383
- name: Checkout containerd
8484
uses: actions/checkout@v2
8585
with:
86-
repository: containerd/containerd
86+
# Intentionally use github.repository instead of containerd/containerd to
87+
# make this action runnable on forks.
88+
# See https://github.com/containerd/containerd/issues/5098 for the context.
89+
repository: ${{ github.repository }}
8790
ref: ${{ github.ref }}
8891
path: src/github.com/containerd/containerd
8992

0 commit comments

Comments
 (0)