feat(frontend): add token prop to transaction card components #508
Workflow file for this run
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: Tag and Release on Merge from Release Branch | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
release: | |
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'chore(release)/v') | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare | |
uses: ./.github/actions/prepare | |
- name: Get version from package.json | |
id: get_version | |
run: | | |
version=$(node -p "require('./package.json').version") | |
echo "Version from package.json: $version" | |
echo "version=$version" >> $GITHUB_OUTPUT | |
- name: Create Git tag | |
run: | | |
git tag "v${{ steps.get_version.outputs.version }}" | |
git push origin "v${{ steps.get_version.outputs.version }}" | |
- name: Draft Release Notes | |
id: draft_release | |
uses: release-drafter/release-drafter@v6 | |
with: | |
version: "v${{ steps.get_version.outputs.version }}" | |
token: ${{ secrets.GIX_CREATE_PR_PAT }} |