feat: PLAT-6109 Adding support for Peaq network (#687) #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Version Package | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- name: Checkout Repo | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.5.4 | |
with: | |
token: ${{ secrets.SAI_PAT }} | |
- name: Prepare pre-requisites | |
uses: ./.github/actions/prepare | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 | |
with: | |
gpg_private_key: ${{ secrets.SVC_GPG_KEY }} | |
passphrase: ${{ secrets.SVC_GPG_PASSPHRASE }} | |
git_config_global: true | |
git_tag_gpgsign: true | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
- name: Create Release Pull Request | |
uses: changesets/action@3de3850952bec538fde60aac71731376e57b9b57 # v1.4.8 | |
with: | |
setupGitUser: false | |
version: pnpm ci:version | |
title: "ci: update the version packages" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update the lock file | |
run: pnpm install --lockfile-only | |
shell: bash | |
- name: Set up Git | |
run: git push --set-upstream origin changeset-release/main | |
shell: bash | |
- name: Commit pnpm-lock.yaml file changes | |
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 | |
with: | |
commit-message: "🤖 chore: Update the pnpm-lock.yaml file" | |
title: "chore: 🤖 [Automated PR] Update the pnpm-lock.yaml file" | |
committer: svc-gh-is-01 <[email protected]> | |
author: svc-gh-is-01 <[email protected]> | |
body: | | |
This PR updates the pnpm-lock.yaml file |