Skip to content

update more yml to run yarn v3 #2963

update more yml to run yarn v3

update more yml to run yarn v3 #2963

name: Close release bug report issue when release branch gets merged
on:
pull_request:
branches:
- stable
types:
- closed
jobs:
close-bug-report:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
steps:

Check failure on line 14 in .github/workflows/close-bug-report.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/close-bug-report.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- name: Checkout repository
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
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'
- name: Install dependencies
run: yarn --immutable
working-directory: '.github/scripts'
- name: Close release bug report issue
id: close-release-bug-report-issue
env:
BUG_REPORT_REPO: mobile-planning
BUG_REPORT_TOKEN: ${{ secrets.BUG_REPORT_TOKEN }}
run: yarn run close-release-bug-report-issue
working-directory: '.github/scripts'