forked from Oriflame/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (44 loc) · 1.44 KB
/
weekly-check-versions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Check bump versions
on:
schedule:
- cron: '0 6 * * 5' # At 06:00 on Friday
workflow_dispatch:
jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- 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.GITHUB_TOKEN }}
commit-message: Update backstage core dependencies
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: update-backstage-core-deps-${{ steps.current-time.outputs.formattedTime }}
delete-branch: true
title: 'Update Backstage core 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