Skip to content

build(deps-dev): bump @nx/workspace from 17.3.0 to 17.3.2 (#308) #265

build(deps-dev): bump @nx/workspace from 17.3.0 to 17.3.2 (#308)

build(deps-dev): bump @nx/workspace from 17.3.0 to 17.3.2 (#308) #265

name: Release Drafter
on:
push:
branches:
- main
# pull_request:
# types: [opened, reopened, synchronize]
workflow_dispatch:
jobs:
correct_repository:
runs-on: ubuntu-latest
steps:
- name: fail on fork
if: github.repository_owner != 'Backbase'
run: exit 1
update_release_draft-transactions:
needs: correct_repository
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter-transactions.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
update_release_draft-transfer:
needs: correct_repository
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter-transfer.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
update-angular-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Get Angular version
id: get-angular-version
run: |
version=$(node -p "require('./package-lock.json').packages['node_modules/@angular/core'].version.split('.').shift()")
echo "::set-output name=version::$version"
- name: Update tag
run: |
tag='angular@v${{ steps.get-angular-version.outputs.version }}'
git tag $tag -f
git push origin $tag -f