Code Monkey home page Code Monkey logo

actions-updatecli-apply's Introduction

actions-updatecli-apply

Description

Action that runs updatecli, commits those changes if they exist, and opens a PR

Inputs

Input Description Required
manifest-path Path to the updatecli manifest file. true
run-type The type of updatecli run to perform. (major or minor) true

Usage

name: updatecli-minor
"on":
  schedule:
    #       ┌───────────── minute (0 - 59)
    #       │  ┌───────────── hour (0 - 23)
    #       │  │  ┌───────────── day of the month (1 - 31)
    #       │  │  │ ┌───────────── month (1 - 12 or JAN-DEC)
    #       │  │  │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
    #       │  │  │ │ │
    #       │  │  │ │ │
    #       │  │  │ │ │
    - cron: 0 15 * * 1  # Monday @ 3pm UTC
  workflow_dispatch:
# Do not grant jobs any permissions by default
permissions: {}
jobs:
  updatecli:
    runs-on: ubuntu-latest
    permissions:
      # required to write to the repo
      contents: write
      # required to open a pr with updatecli changes
      pull-requests: write
    steps:
      - name: checkout
        uses: actions/checkout@v4
      - name: updatecli-apply
        uses: prefecthq/actions-updatecli-apply@main
        with:
          manifest-path: '.github/updatecli/manifest-minor.yaml'
          run-type: 'minor'

actions-updatecli-apply's People

Contributors

jimid27 avatar parkedwards avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.