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
15 changes: 12 additions & 3 deletions .github/actions/flaky-test-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,24 @@ inputs:
slack-webhook-flaky-tests:
description: 'Slack webhook URL for flaky test reports'
required: true
github-tools-repository:
description: 'The GitHub repository containing the GitHub tools. Defaults to the GitHub tools action repositor, and usually does not need to be changed.'
required: false
default: ${{ github.action_repository }}
github-tools-ref:
description: 'The SHA of the action to use. Defaults to the current action ref, and usually does not need to be changed.'
required: false
default: ${{ github.action_ref }}

runs:
using: composite
steps:
- name: Checkout github-tools repository
- name: Checkout GitHub tools repository
uses: actions/checkout@v6
with:
repository: MetaMask/github-tools
path: github-tools
repository: ${{ inputs.github-tools-repository }}
ref: ${{ inputs.github-tools-ref }}
path: ./github-tools

- name: Set up Node.js
uses: actions/setup-node@v6
Expand Down
20 changes: 12 additions & 8 deletions .github/actions/update-release-changelog/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ inputs:
required: false
default: 'null'
description: 'Previous release version reference (branch/tag/SHA). Use "null" for hotfixes.'
github-tools-version:
required: false
default: 'main'
description: 'Version of github-tools to use (branch, tag, or SHA).'
github-token:
required: true
description: 'GitHub token with write access to the invoking repository and read access to planning resources.'
github-tools-repository:
description: 'The GitHub repository containing the GitHub tools. Defaults to the GitHub tools action repositor, and usually does not need to be changed.'
required: false
default: ${{ github.action_repository }}
github-tools-ref:
description: 'The SHA of the action to use. Defaults to the current action ref, and usually does not need to be changed.'
required: false
default: ${{ github.action_ref }}

runs:
using: composite
Expand All @@ -36,12 +40,12 @@ runs:
token: ${{ inputs.github-token }}

# Step 2: Checkout github-tools repository
- name: Checkout github-tools repository
- name: Checkout GitHub tools repository
uses: actions/checkout@v6
with:
repository: MetaMask/github-tools
ref: ${{ inputs.github-tools-version }}
path: github-tools
repository: ${{ inputs.github-tools-repository }}
ref: ${{ inputs.github-tools-ref }}
path: ./github-tools

# Step 3: Setup environment from github-tools
- name: Checkout and setup environment
Expand Down
Loading