From 595f0d95f473806764ca3a5f5185b4938ad24083 Mon Sep 17 00:00:00 2001 From: Sarabveer Singh Date: Mon, 4 Dec 2023 12:34:53 -0500 Subject: [PATCH] ci(submodule): remove ssh key --- .github/workflows/submodule.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/submodule.yml b/.github/workflows/submodule.yml index 8a93d8d31..cdbb54312 100644 --- a/.github/workflows/submodule.yml +++ b/.github/workflows/submodule.yml @@ -7,16 +7,13 @@ on: jobs: update: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4 with: token: ${{ secrets.PA_TOKEN }} submodules: true - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_KEY }} - known_hosts: ${{ secrets.KNOWN_HOSTS }} - name: Update submodule run: | git submodule update --init --recursive --checkout -f --remote -- "${{github.event.client_payload.module}}"