Fix Workflows Pushing to Main (#465)

[SKIP]
This commit is contained in:
IntegerLimit 2023-10-21 12:09:58 +11:00 committed by GitHub
parent e2aac147e5
commit 2a0f5eab52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -53,13 +53,13 @@ jobs:
env: env:
VERSION: "${{ inputs.version }}" VERSION: "${{ inputs.version }}"
RELEASE_TYPE: "${{ inputs.release_type }}" RELEASE_TYPE: "${{ inputs.release_type }}"
permissions:
contents: write
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
ssh-key: ${{ secrets.SSH_KEY }}
- name: Restore Cached Files - name: Restore Cached Files
uses: actions/cache@v3 uses: actions/cache@v3
@ -117,13 +117,13 @@ jobs:
if: "${{ !inputs.is_release }}" if: "${{ !inputs.is_release }}"
env: env:
VERSION: "${{ inputs.version }}" VERSION: "${{ inputs.version }}"
permissions:
contents: write
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
ssh-key: ${{ secrets.SSH_KEY }}
- name: Restore Cached Files - name: Restore Cached Files
uses: actions/cache@v3 uses: actions/cache@v3

View File

@ -16,15 +16,14 @@ jobs:
if: "${{ github.repository_owner == 'Nomi-CEu' }}" if: "${{ github.repository_owner == 'Nomi-CEu' }}"
name: Update Quest Book Jsons and Lang (${{ inputs.tag }}) name: Update Quest Book Jsons and Lang (${{ inputs.tag }})
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- name: Checkout Ref - name: Checkout Ref
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ inputs.tag }} ref: ${{ inputs.tag }}
ssh-key: ${{ secrets.SSH_KEY }}
- name: Restore Cached Files - name: Restore Cached Files
uses: actions/cache@v3 uses: actions/cache@v3