diff --git a/.github/os-git-actions/setup-gpg/action.yml b/.github/os-git-actions/setup-gpg/action.yml index 33068ffb..ca8bd97b 100644 --- a/.github/os-git-actions/setup-gpg/action.yml +++ b/.github/os-git-actions/setup-gpg/action.yml @@ -1,14 +1,5 @@ name: 'setup-gpg' description: 'Prepare to get following commits signed' -inputs: - gpgPriv: - description: 'GPG Private key' - required: true - default: '' - gpgPassPhrase: - description: 'GPG passphrase' - required: false - default: '""' runs: using: composite @@ -16,7 +7,7 @@ runs: - name: Import and load GPG key uses: crazy-max/ghaction-import-gpg@v6 with: - gpg_private_key: ${{ inputs.gpgPriv }} - passphrase: ${{ inputs.gpgPassPhrase }} + gpg_private_key: ${{ secrets.GPG_SIGN_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} git_user_signingkey: true git_commit_gpgsign: true diff --git a/.github/os-git-actions/signed-commit/action.yml b/.github/os-git-actions/signed-commit/action.yml index f200b112..6dfad311 100644 --- a/.github/os-git-actions/signed-commit/action.yml +++ b/.github/os-git-actions/signed-commit/action.yml @@ -13,23 +13,12 @@ inputs: description: 'Defines if a `git add.` should be made or not.' required: false default: false - gpgPriv: - description: 'GPG Private key' - required: true - default: '' - gpgPassPhrase: - description: 'GPG passphrase' - required: false - default: '""' runs: using: composite steps: - name: Setup GPG to sign commits uses: ./.github/os-git-actions/setup-gpg/ - with: - gpgPriv: ${{ inputs.gpgPriv }} - gpgPassPhrase: ${{ inputs.gpgPassPhrase }} - name: Perform git commit uses: ./.github/os-git-actions/manual-commit/ diff --git a/.github/workflows/DevPR.yml b/.github/workflows/DevPR.yml index 2c23ab68..3df51365 100644 --- a/.github/workflows/DevPR.yml +++ b/.github/workflows/DevPR.yml @@ -12,7 +12,7 @@ jobs: working-directory: ./ steps: - name: Checkout branch dev - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install project dependencies run: npm install @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch dev - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install project dependencies run: npm install diff --git a/.github/workflows/PreRelease.yml b/.github/workflows/PreRelease.yml index 516514ab..46e6dcba 100644 --- a/.github/workflows/PreRelease.yml +++ b/.github/workflows/PreRelease.yml @@ -119,5 +119,3 @@ jobs: branch: dev message: 'Updated into v${{ inputs.new-dev-release }} [skip ci]' newFiles: true - gpgPriv: ${{ secrets.GPG_SIGN_KEY }} - gpgPassPhrase: ${{ secrets.GPG_PASSPHRASE }}