Merge pull request #5682 from kzys/gha-fork
gha: make release workflow work in forks
This commit is contained in:
commit
9fa7d15077
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -83,7 +83,10 @@ jobs:
|
|||||||
- name: Checkout containerd
|
- name: Checkout containerd
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: containerd/containerd
|
# Intentionally use github.repository instead of containerd/containerd to
|
||||||
|
# make this action runnable on forks.
|
||||||
|
# See https://github.com/containerd/containerd/issues/5098 for the context.
|
||||||
|
repository: ${{ github.repository }}
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
path: src/github.com/containerd/containerd
|
path: src/github.com/containerd/containerd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user