diff --git a/.github/workflows/releasecommit.yml b/.github/workflows/releasecommit.yml index 3857f21..826c897 100644 --- a/.github/workflows/releasecommit.yml +++ b/.github/workflows/releasecommit.yml @@ -53,13 +53,13 @@ jobs: env: VERSION: "${{ inputs.version }}" RELEASE_TYPE: "${{ inputs.release_type }}" - permissions: - contents: write + steps: - name: Checkout Repo uses: actions/checkout@v4 with: fetch-depth: 0 + ssh-key: ${{ secrets.SSH_KEY }} - name: Restore Cached Files uses: actions/cache@v3 @@ -117,13 +117,13 @@ jobs: if: "${{ !inputs.is_release }}" env: VERSION: "${{ inputs.version }}" - permissions: - contents: write + steps: - name: Checkout Repo uses: actions/checkout@v4 with: fetch-depth: 0 + ssh-key: ${{ secrets.SSH_KEY }} - name: Restore Cached Files uses: actions/cache@v3 diff --git a/.github/workflows/updateqb.yml b/.github/workflows/updateqb.yml index 5231cec..244d449 100644 --- a/.github/workflows/updateqb.yml +++ b/.github/workflows/updateqb.yml @@ -16,15 +16,14 @@ jobs: if: "${{ github.repository_owner == 'Nomi-CEu' }}" name: Update Quest Book Jsons and Lang (${{ inputs.tag }}) runs-on: ubuntu-latest - permissions: - contents: write - + steps: - name: Checkout Ref uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ inputs.tag }} + ssh-key: ${{ secrets.SSH_KEY }} - name: Restore Cached Files uses: actions/cache@v3