liferay-cloud-upgrade-action

command module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 14 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL