Skip to content

Commit d4b9fd4

Browse files
authored
feat: update deploy job permissions (#175)
fixes issue to enable npm packages to be deployed
1 parent 77b94e7 commit d4b9fd4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/frontend-deploy-workflow.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,19 @@ jobs:
215215
timeout-minutes: ${{ inputs.deploy-timeout }}
216216
permissions:
217217
id-token: write
218-
contents: read
218+
contents: write
219219

220220
steps:
221221
- name: Check out Git repository
222222
uses: actions/checkout@v4
223+
with:
224+
token: ${{ secrets.GH_TOKEN }}
225+
fetch-depth: 0
226+
227+
- name: Configure Git
228+
run: |
229+
git config --global user.name "${{ github.actor }}"
230+
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
223231
224232
- name: Setup Node with Cache
225233
uses: Typeform/.github/shared-actions/setup-node-with-cache@v1

0 commit comments

Comments
 (0)