Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROU-11456: Small improvements in pipelines #190

Merged
merged 3 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/os-git-actions/setup-gpg/action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
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
steps:
- 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
11 changes: 0 additions & 11 deletions .github/os-git-actions/signed-commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/DevPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/PreRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Loading