-
Notifications
You must be signed in to change notification settings - Fork 4
feat(changelog): add changelog trickle down action #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
9f3617d
trickle down changelog action
asafdl 335ed31
feat(changelog): add trickle down changelog action
asafdl 35d52d1
cr comments
asafdl ad7f2f3
don't lint js files
asafdl 301c795
prettier
asafdl dad5b00
cr fixes
asafdl 3c6e407
to typescript
asafdl a980e0d
verify ts
asafdl 05a9b78
verify ts
asafdl 4ba1e2a
bundler
asafdl 3c6759a
local run
asafdl 2397dc8
lint
asafdl 69ead95
lint
asafdl 102f2c8
add action as workspaces in package.json
asafdl c8d314c
rebuilt actions after package-lock.json changes
asafdl 0913c36
run:ws
asafdl 2a17a52
ci
asafdl 72f5a6d
ci workspaces
asafdl 56232b9
ci workspaces
asafdl 62cba40
test
asafdl cd0fa89
test
asafdl 8b9fee9
test
asafdl e573fdd
test
asafdl 8e1a8d2
test
asafdl 4d6f16a
test
asafdl 94789a2
prettier
asafdl 4fce0f8
test
asafdl 84454b4
test
asafdl b2d7867
test
asafdl 6c1943e
test
asafdl f27f1c1
test
asafdl 439fb99
test
asafdl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # 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. |
This file contains hidden or 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 |
|---|---|---|
| @@ -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' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.