Sync Versions #2680
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Versions | |
on: | |
schedule: | |
- cron: "0 */8 * * *" | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
env: | |
GIT_USER_NAME: 'grails-build' | |
GIT_USER_EMAIL: '[email protected]' | |
steps: | |
- name: "📥 Checkout repository" | |
uses: actions/checkout@v4 | |
- name: "🔄 Sync Latest Version" | |
uses: ./.github/actions/sync-latest-version | |
- name: "✨ Create Pull Request" | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
committer: ${{ env.GIT_USER_NAME }} <${{ env.GIT_USER_EMAIL }}> | |
author: ${{ env.GIT_USER_NAME }} <${{ env.GIT_USER_EMAIL }}> | |
commit-message: Update Metadata | |
title: 'Update Plugins JSON Metadata' | |
body: Upgrade latestVersion/coordinates of the plugins | |
labels: "type: update-latest-version" | |
base: ${{ env.githubBranch }} | |
branch: updateLatestVersion |