lgdd / liferay-cloud-upgrade-action

Create a new branch and pull request if if new versions for Liferay Cloud Docker images are available

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Liferay Cloud Upgrade Action

GitHub Action to create a new branch and pull request if new versions for Liferay Cloud Docker images are available.

If you're looking for the same action but for Liferay upgrade, take a look at this: https://github.com/lgdd/liferay-upgrade-action

Requirements

This action create a branch, push changes and create a pull request. So make sure to give proper permissions to GitHub Actions in your repository:

  • Go to Settings > Actions > General > Workflow Permissions
  • Select Read and write permissions
  • Check Allow GitHub Actions to create and approve pull requests

More information in GitHub Actions documentation.

Usage

You can use this action in a GitHub Actions Workflow by a adding a YAML file under .github/workflows/ with the following content:

name: liferay-cloud-auto-upgrade
run-name: Liferay Cloud Auto Upgrade

on:
  schedule:
    # https://crontab.guru/every-night-at-midnight
    - cron: '0 0 * * *'

permissions:
  contents: write
  pull-requests: write
  repository-projects: read

jobs:
  liferay-cloud-upgrade:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: lgdd/liferay-cloud-upgrade-action@v1

License

MIT

About

Create a new branch and pull request if if new versions for Liferay Cloud Docker images are available

License:MIT License


Languages

Language:Go 100.0%