Allow release only on traefik/traefik repo
This commit is contained in:
parent
a31b026364
commit
ee8305549a
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
@ -15,11 +15,11 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build-webui:
|
build-webui:
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag' && github.repository == 'traefik/traefik'
|
||||||
uses: ./.github/workflows/template-webui.yaml
|
uses: ./.github/workflows/template-webui.yaml
|
||||||
|
|
||||||
build:
|
build:
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag' && github.repository == 'traefik/traefik'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -80,7 +80,7 @@ jobs:
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
release:
|
release:
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag' && github.repository == 'traefik/traefik'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue