From fab8eaab85123f7d7ce1afb9b02d987ebbc0fbfb Mon Sep 17 00:00:00 2001 From: Ayush Saha Date: Tue, 3 Feb 2026 20:56:56 +0530 Subject: [PATCH] feat: add codemod and publishing workflow updates --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 92fe828..2382f99 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,9 @@ on: description: "Tag to publish (format: v1.0.0@codemod-name)" required: true type: string +permissions: + id-token: write + contents: read jobs: validate-and-publish: @@ -98,10 +101,7 @@ jobs: working-directory: ${{ steps.parse-tag.outputs.codemod-path }} run: npm run --if-present test - - name: Authenticate with Codemod registry - env: - CODEMOD_TOKEN: ${{ secrets.CODEMOD_TOKEN }} - run: npx codemod login --api-key "$CODEMOD_TOKEN" + - name: Publish codemod working-directory: ${{ steps.parse-tag.outputs.codemod-path }}