You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
name: automatically-update-test-links
|
|
on:
|
|
schedule:
|
|
- cron: '0 03 * * 1'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
createPullRequest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
- name: Make changes to pull request
|
|
run: |
|
|
npm ci
|
|
npm run start
|
|
working-directory: scripts/linkbot
|
|
|
|
- name: Create Pull Request
|
|
id: cpr
|
|
uses: peter-evans/create-pull-request@v3
|
|
with:
|
|
title: 'Image-Bot: New images available'
|
|
body: |
|
|
New images are available for update
|
|
commit-message: |
|
|
chore: Image-Bot image updates
|
|
|
|
Base image updates for our provided images.
|
|
committer: mender-test-bot <mender@northern.tech>
|
|
author: mender-test-bot <mender@northern.tech>
|
|
signoff: true
|
|
|
|
- name: Check outputs
|
|
run: |
|
|
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
|
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
|
|