automatically-update-test-links #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]> | |
author: mender-test-bot <[email protected]> | |
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 }}" |