Skip to content

Scheduled Latest Vagrant Boxes verification #190

Scheduled Latest Vagrant Boxes verification

Scheduled Latest Vagrant Boxes verification #190

Workflow file for this run

---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2021
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
name: Scheduled Latest Vagrant Boxes verification
# yamllint disable-line rule:truthy
on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
check-versions:
permissions:
contents: write # for technote-space/create-pr-action to push code
pull-requests: write # for technote-space/create-pr-action to create a PR
runs-on: macos-12
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # refs/tags/v4.1.7
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # refs/tags/v4.0.2
with:
path: ~/.vagrant.d/boxes
key: ${{ runner.os }}-vagrant-${{ hashFiles('distros_supported.yml') }}
restore-keys: |
${{ runner.os }}-vagrant-
- uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # refs/tags/v2.1.4
with:
EXECUTE_COMMANDS: |
./ci/update_distros.sh
COMMIT_MESSAGE: 'Upgrade distro list versions'
COMMIT_NAME: 'electrocucaracha bot'
PR_BRANCH_NAME: "versions-update-${PR_ID}"
PR_TITLE: 'chore: update distro versions'