mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 00:28:06 +01:00
23249b68b7
* feat(action): github action to create bug report issue at RC cut * feat(action): github action to close bug report issue once release is ready * fix(action): replace main by master * fix(action): create event does not support branch filter * fix(action): indentation * fix(action): actionlint erors * fix(action): actionlint erors 2 * fix(action): actionlint erors 3 * fix(action): replace npm by yarn for consistency
35 lines
938 B
YAML
35 lines
938 B
YAML
name: Close release bug report issue when release branch gets merged
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
types:
|
|
- closed
|
|
|
|
jobs:
|
|
close-bug-report:
|
|
runs-on: ubuntu-latest
|
|
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'Version-v')
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1 # This retrieves only the latest commit.
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: yarn
|
|
|
|
- name: Install dependencies
|
|
run: yarn --immutable
|
|
|
|
- name: Close release bug report issue
|
|
id: close-release-bug-report-issue
|
|
env:
|
|
BUG_REPORT_REPO: MetaMask-planning
|
|
BUG_REPORT_TOKEN: ${{ secrets.BUG_REPORT_TOKEN }}
|
|
run: yarn run close-release-bug-report-issue
|