Skip to content

Commit

Permalink
ci: create PR on release updation (#581)
Browse files Browse the repository at this point in the history
* ci: create PR on release updation

* test: releases ci

* test: ci

* test: ci

* revert: test changes
  • Loading branch information
mehulmathur16 authored Dec 28, 2024
1 parent d71ad6e commit c426e24
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/update-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
update-releases:
Expand All @@ -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

0 comments on commit c426e24

Please sign in to comment.