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 author: mender-test-bot 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 }}"