-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: create PR on release updation (#581)
* ci: create PR on release updation * test: releases ci * test: ci * test: ci * revert: test changes
- Loading branch information
1 parent
d71ad6e
commit c426e24
Showing
1 changed file
with
13 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
update-releases: | ||
|
@@ -31,9 +32,16 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: node release-notes-generator.js | ||
|
||
- name: Commit and push changes (on develop) | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
- name: Create pull request | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
branch: ${{ github.ref_name }} | ||
commit_author: Author <[email protected]> | ||
commit_message: "chore: updated releases" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: "chore: updated releases" | ||
branch: update-releases | ||
branch-suffix: timestamp | ||
base: develop | ||
title: "chore: updated releases" | ||
body: | | ||
This is an auto-generated pull request that updates releases. | ||
reviewers: tusharmath | ||
maintainer-can-modify: true |