From fe4339bf2f004103e15822a755147863d4464250 Mon Sep 17 00:00:00 2001 From: Ryan Olds Date: Fri, 20 Dec 2024 12:42:10 -0800 Subject: [PATCH] Only run release on upstream repo (#100) --- .github/workflows/go-releaser.yml | 1 + .github/workflows/release-drafter.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/go-releaser.yml b/.github/workflows/go-releaser.yml index 347afaa..c1b8e5c 100644 --- a/.github/workflows/go-releaser.yml +++ b/.github/workflows/go-releaser.yml @@ -10,6 +10,7 @@ on: jobs: goreleaser: + if: github.repository == 'mdelapenya/junit2otlp' runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 42cd804..07d65dc 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -8,6 +8,7 @@ on: jobs: update_release_draft: + if: github.repository == 'mdelapenya/junit2otlp' runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "master"