This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-plugins-metadata.git
The following commit(s) were added to refs/heads/main by this push:
new 1d04620 ci: try to adopt GitHub workflow for Apache (#139)
1d04620 is described below
commit 1d0462023ca935010a0e694c6e60388985a76e7c
Author: Mattias Reichel <[email protected]>
AuthorDate: Fri Apr 11 09:19:15 2025 +0200
ci: try to adopt GitHub workflow for Apache (#139)
There is no `grails-build` user anymore so this commit
tests if it works with the built-in `github-actions[bot]` user.
---
.github/workflows/syncVersion.yml | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/syncVersion.yml
b/.github/workflows/syncVersion.yml
index e2e6e0e..bb3f7a4 100644
--- a/.github/workflows/syncVersion.yml
+++ b/.github/workflows/syncVersion.yml
@@ -3,6 +3,9 @@ on:
schedule:
- cron: "0 */8 * * *"
workflow_dispatch:
+permissions:
+ contents: write
+ pull-requests: write
jobs:
sync:
runs-on: ubuntu-latest
@@ -15,14 +18,10 @@ jobs:
- name: "🔄 Sync Latest Version"
uses: ./.github/actions/sync-latest-version
- name: "✨ Create Pull Request"
- uses: peter-evans/create-pull-request@v3
+ uses: peter-evans/create-pull-request@v7
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
+ commit-message: Update Plugins Metadata File
+ title: 'Update Plugins Metadata'
+ body: Update versions/coordinates of plugins.
labels: "type: update-latest-version"
- base: ${{ env.githubBranch }}
branch: updateLatestVersion