From 991cfb8659f22554485780a97c9bdde1ddffc1a4 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 15 Aug 2022 23:53:29 +0000 Subject: [PATCH] chore(ci): limit labels workflow to not forked --- .github/workflows/labels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 9c108235..c4d91533 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -7,6 +7,9 @@ on: - .github/workflows/labels.yml jobs: labeler: + # Only run from pushes from this repository to avoid + # `Resource not accessible by integration` errors. + if: github.repository == 'qdm12/gluetun' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3