Skip to content

Commit

Permalink
Merge branch 'Azure:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTn authored Feb 5, 2025
2 parents 2ad8682 + a7a538e commit 736cb18
Show file tree
Hide file tree
Showing 2,162 changed files with 278,764 additions and 4,905 deletions.
95 changes: 0 additions & 95 deletions .github/actions/context.js

This file was deleted.

37 changes: 37 additions & 0 deletions .github/actions/setup-node-install-deps/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Setup Node and install dependencies
description: Uses specified Node version and installs dependencies (typically using "npm")

inputs:
node-version:
description: 'Node version to use'
default: 22.x
install-command:
description: 'Command to install dependencies'
default: 'npm ci'
working-directory:
description: 'Working directory'
default: '.'

runs:
using: "composite"

steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}

- run: |
echo "::group::$INSTALL_COMMAND"
$INSTALL_COMMAND
echo "::endgroup::"
shell: bash
env:
INSTALL_COMMAND: ${{ inputs.install-command }}
working-directory: ${{ inputs.working-directory }}
- run: |
echo "::group::npm ls -a"
npm ls -a || true
echo "::endgroup::"
shell: bash
working-directory: ${{ inputs.working-directory }}
27 changes: 0 additions & 27 deletions .github/actions/setup-node-npm-ci/action.yaml

This file was deleted.

103 changes: 0 additions & 103 deletions .github/actions/update-labels/action.js

This file was deleted.

7 changes: 4 additions & 3 deletions .github/actions/update-labels/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
using: composite

steps:
- name: Set Label
- name: Update Labels
uses: actions/github-script@v7
env:
OWNER: ${{ inputs.owner }}
Expand All @@ -29,5 +29,6 @@ runs:
RUN_ID: ${{ inputs.run_id }}
with:
script: |
const action = require('./.github/actions/update-labels/action.js')
await action({ github, context, core });
const { default: updateLabels } =
await import('${{ github.workspace }}/.github/actions/update-labels/src/update-labels.js');
await updateLabels({ github, context, core });
Loading

0 comments on commit 736cb18

Please sign in to comment.