Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions actions/trickle-down-changelog/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Trickle Down Changelog GH Action

This action will open PRs in downstream release branches with changes from the changelog.
For example:

- If you update the current GA branch with changes, you will also need to update beta branch and main branches.
- This action will open PRs in beta and main branches with the changes from the changelog.

## Inputs

### `token`

**Required** The GitHub token to use for authentication.

## Usage

```yaml
jobs:
trickle-down-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run action
uses: elementor/elementor-pro/.github/actions/trickle-down-changelog@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
```

## Build

This action uses `ncc` to build the modules inside the javascript file, so no need to install any dependencies, **make sure to build before merging**.

run `npm run build` to build the action. The build artifacts will be stored in the `dist/` directory.
10 changes: 10 additions & 0 deletions actions/trickle-down-changelog/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'Trickle down changelog action'
description: 'Create PRs for changelog changes'
inputs:
token:
description: 'GitHub token'
required: true

runs:
using: 'node20'
main: 'dist/index.js'
Loading