Skip to content

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

License

Notifications You must be signed in to change notification settings

lgdd/liferay-cloud-upgrade-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Languages