From 5dc2e00bac80d43f7b8c0ce6bff819ace12a525f Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sun, 8 Nov 2026 10:19:40 -0500 Subject: [PATCH 1/2] ci: authorize workflows through the organization registry --- .github/workflows/ci.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7deb626..449334b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,16 @@ concurrency: cancel-in-progress: true jobs: + organization: + uses: LizardByte/.github/.github/workflows/__call-organization.yml@390ac9c7c1950249fe8197fe06b7ae49233ce405 + setup_release: + needs: organization name: Setup Release outputs: - publish_release: ${{ steps.setup_release.outputs.publish_release }} + publish_release: >- + ${{ needs.organization.outputs.allowed == 'true' && + steps.setup_release.outputs.publish_release == 'true' }} release_body: ${{ steps.setup_release.outputs.release_body }} release_commit: ${{ steps.setup_release.outputs.release_commit }} release_generate_release_notes: ${{ steps.setup_release.outputs.release_generate_release_notes }} @@ -41,7 +47,9 @@ jobs: connector: name: Jellyfin Connector - needs: setup_release + needs: + - organization + - setup_release runs-on: ubuntu-latest permissions: contents: read @@ -84,7 +92,7 @@ jobs: if: >- always() && (steps.test.outcome == 'success' || steps.test.outcome == 'failure') && - startsWith(github.repository, 'LizardByte/') + needs.organization.outputs.allowed == 'true' uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: fail_ci_if_error: true @@ -97,7 +105,7 @@ jobs: if: >- always() && (steps.test.outcome == 'success' || steps.test.outcome == 'failure') && - startsWith(github.repository, 'LizardByte/') + needs.organization.outputs.allowed == 'true' uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: fail_ci_if_error: true @@ -135,6 +143,7 @@ jobs: build: needs: + - organization - setup_release - connector runs-on: ${{ matrix.os }} @@ -228,7 +237,7 @@ jobs: if: >- always() && (steps.test.outcome == 'success' || steps.test.outcome == 'failure') && - startsWith(github.repository, 'LizardByte/') + needs.organization.outputs.allowed == 'true' uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: fail_ci_if_error: true @@ -242,7 +251,7 @@ jobs: if: >- always() && (steps.test.outcome == 'success' || steps.test.outcome == 'failure') && - startsWith(github.repository, 'LizardByte/') + needs.organization.outputs.allowed == 'true' uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 with: fail_ci_if_error: true From 3e7d64cf6ba6479b903028c4e4c79b81db9cfc50 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sun, 8 Nov 2026 12:18:35 -0500 Subject: [PATCH 2/2] ci: follow master for shared organization workflows --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 449334b4..cfe7d89f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ concurrency: jobs: organization: - uses: LizardByte/.github/.github/workflows/__call-organization.yml@390ac9c7c1950249fe8197fe06b7ae49233ce405 + uses: LizardByte/.github/.github/workflows/__call-organization.yml@master setup_release: needs: organization