Skip to content

Regenerate 2.0 Operator Bundles #456

Regenerate 2.0 Operator Bundles

Regenerate 2.0 Operator Bundles #456

# This is a basic workflow to help you get started with Actions
name: Regenerate 2.0 Operator Bundles
# Controls when the action will run.
on:
# Runs every day
schedule:
- cron: "0 0 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
token: ${{ secrets.BACKPLANE_TOKEN }}
ref: backplane-2.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Runs a set of commands using the runners shell
- name: Lint Operator Bundles
run: |
make lint-operator-bundles
# Runs a set of commands using the runners shell
- name: Regenerate Operator Bundles
run: |
make regenerate-operator-bundles
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
signoff: true
branch: "regenerate-operator-bundles-2.0"
delete-branch: true
title: "Operator Bundle Update [2.0]"
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
labels: do-not-merge/hold
assignees: cameronmwall,dislbenn,ngraham20