From ceef39d7d6227a84d6698f199b53bde204f959de Mon Sep 17 00:00:00 2001 From: Leo Cavalcante Date: Tue, 29 Sep 2026 16:48:15 -0300 Subject: [PATCH 1/2] fix(ci): Trim Features permissions and allow manual publish Match the official features publish workflow permissions, and add workflow_dispatch so GHCR publish can be retested after package Actions access is granted. --- .github/workflows/features.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/features.yml b/.github/workflows/features.yml index 96aa4da..22b5da7 100644 --- a/.github/workflows/features.yml +++ b/.github/workflows/features.yml @@ -3,6 +3,7 @@ on: push: branches: - main + workflow_dispatch: jobs: features: @@ -10,7 +11,6 @@ jobs: permissions: packages: write contents: write - pull-requests: write steps: - uses: actions/checkout@v3 - name: Check install-php-extensions From d7de27c29dad8821abdf1819ae145060b469cd83 Mon Sep 17 00:00:00 2001 From: Leo Cavalcante Date: Tue, 29 Sep 2026 16:54:05 -0300 Subject: [PATCH 2/2] fix(ci): Restrict Features publish to the main branch --- .github/workflows/features.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/features.yml b/.github/workflows/features.yml index 22b5da7..8530110 100644 --- a/.github/workflows/features.yml +++ b/.github/workflows/features.yml @@ -7,6 +7,7 @@ on: jobs: features: + if: ${{ github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest permissions: packages: write