Skip to content

chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (main) - autoclosed #46

chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (main) - autoclosed

chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (main) - autoclosed #46

Workflow file for this run

name: Pull Request Label
on: pull_request
jobs:
setup-label:
runs-on: ubuntu-latest
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup
uses: ./tools/github-actions/setup
- name: Determine labels
run: |
LABELS="$(yarn pr-labels --target="${{ github.base_ref || github.ref_name }}")"
echo "LABELS=$LABELS" >> $GITHUB_ENV
- uses: actions/github-script@v7
if: env.LABELS != '[]'
continue-on-error: true
with:
script: |
const [owner, repo] = '${{ github.repository }}'.split('/');
github.rest.issues.addLabels({
owner,
repo,
issue_number: context.issue.number,
labels: ${{ env.LABELS }}
})