Skip to content

Scheduled Versions verification #15

Scheduled Versions verification

Scheduled Versions verification #15

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 Versions verification
# yamllint disable-line rule:truthy
on:
schedule:
- cron: '0 0 1 * *'
pull_request:
types: [opened, synchronize, reopened, closed]
workflow_dispatch:
jobs:
check-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '^1.17'
- uses: technote-space/create-pr-action@v2
with:
EXECUTE_COMMANDS: |
./ci/update_versions.sh
COMMIT_MESSAGE: 'Upgrade versions files'
COMMIT_NAME: 'electrocucaracha bot'
PR_BRANCH_NAME: "versions-update-${PR_ID}"
PR_TITLE: 'chore: update versions'
check-dockerfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update Dockerfile
uses: ludeeus/dockerfile-updater@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
pr_title: 'chore: update Dockerfile'
exclude_type: base