Skip to content

automatically-update-test-links #180

automatically-update-test-links

automatically-update-test-links #180

name: automatically-update-test-links
on:
schedule:
- cron: '0 03 * * 1'
workflow_dispatch:
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- 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@v5
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 }}"