Skip to content

Check bump versions #185

Check bump versions

Check bump versions #185

name: Check bump versions
on:
schedule:
- cron: '0 6 * * 5'
jobs:
create-pull-request:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies and bump versions
run: |
yarn install
yarn backstage-cli versions:bump
- name: Get current time
uses: 1466587594/get-current-time@v2
id: current-time
with:
format: YYYYMMDD-HH-MM
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }}
commit-message: Update dependencies
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: update-dependencies-${{ steps.current-time.outputs.formattedTime }}
delete-branch: true
title: 'Update Dependencies - plugins'
base: main
body: |
Update backstage dependencies
- Updated using backstage-cli versions:bump
- Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
labels: |
dependency
update
automated pr
draft: false