Merge pull request #1715 from crazy-max/ci-restrict-repo

ci: check repo origin on push tag event
pull/1719/head
CrazyMax 2 years ago committed by GitHub
commit 498cc9ba0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,7 +115,7 @@ jobs:
bin-image: bin-image:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' && github.repository == 'docker/buildx' }}
steps: steps:
- -
name: Checkout name: Checkout

@ -8,7 +8,7 @@ on:
jobs: jobs:
open-pr: open-pr:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
if: "!github.event.release.prerelease" if: ${{ github.event.release.prerelease != true && github.repository == 'docker/buildx' }}
steps: steps:
- -
name: Checkout docs repo name: Checkout docs repo

Loading…
Cancel
Save