Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
67 changes: 34 additions & 33 deletions actions/run-lighthouse-tests/dist/index.cjs

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions actions/setup-elementor-env/dist/index.cjs

Large diffs are not rendered by default.

69 changes: 35 additions & 34 deletions actions/setup-wp-env/dist/index.cjs

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions actions/trickle-down-changelog/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Do not commit your actual .env file to Git! This may contain secrets or other
# private information.

# Enable/disable step debug logging (default: `false`). For local debugging, it
# may be useful to set it to `true`.
ACTIONS_STEP_DEBUG=true

# GitHub Actions inputs should follow `INPUT_<name>` format (case-insensitive).
# if you want to run locally, token needs to be inputted, just don't merge it :)
INPUT_token=""

# GitHub Actions default environment variables. These are set for every run of a
# workflow and can be used in your actions. Setting the value here will override
# any value set by the local-action tool.
# https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables

# CI="true"
# GITHUB_ACTION=""
# GITHUB_ACTION_PATH=""
# GITHUB_ACTION_REPOSITORY=""
# GITHUB_ACTIONS=""
# GITHUB_ACTOR="mona"
# GITHUB_ACTOR_ID="123456789"
# GITHUB_API_URL=""
# GITHUB_BASE_REF=""
# GITHUB_ENV=""
# GITHUB_EVENT_NAME=""
# GITHUB_EVENT_PATH=""
# GITHUB_GRAPHQL_URL=""
# GITHUB_HEAD_REF=""
# GITHUB_JOB=""
# GITHUB_OUTPUT=""
# GITHUB_PATH=""
# GITHUB_REF=""
# GITHUB_REF_NAME=""
# GITHUB_REF_PROTECTED=""
# GITHUB_REF_TYPE=""
# GITHUB_REPOSITORY=""
# GITHUB_REPOSITORY_ID=""
# GITHUB_REPOSITORY_OWNER=""
# GITHUB_REPOSITORY_OWNER_ID=""
# GITHUB_RETENTION_DAYS=""
# GITHUB_RUN_ATTEMPT=""
# GITHUB_RUN_ID=""
# GITHUB_RUN_NUMBER=""
# GITHUB_SERVER_URL=""
# GITHUB_SHA=""
# GITHUB_STEP_SUMMARY=""
# GITHUB_TRIGGERING_ACTOR=""
# GITHUB_WORKFLOW=""
# GITHUB_WORKFLOW_REF=""
# GITHUB_WORKFLOW_SHA=""
# GITHUB_WORKSPACE=""
# RUNNER_ARCH=""
# RUNNER_DEBUG=""
# RUNNER_NAME=""
# RUNNER_OS=""
# RUNNER_TEMP=""
# RUNNER_TOOL_CACHE=""
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 `tsup` 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