Skip to content

This is a workaround until this issue is resolved: https://github.com/actions/runner/issues/1348. #502

@github-actions

Description

@github-actions

# FIXME: This is a workaround until this issue is resolved: https://github.com/actions/runner/issues/1348.

runs:
  using: "composite"
  steps:
    # FIXME: This is a workaround until this issue is resolved: https://github.com/actions/runner/issues/1348.
    - name: Prepare sibling actions
      uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
      with:
        script: |
          const path = require('node:path');

          const sourcePath = path.resolve(process.env.GITHUB_ACTION_PATH, '..');
          const destinationPath = path.resolve(process.env.GITHUB_WORKSPACE, '..', 'self-actions');

          await io.rmRF(destinationPath);
          await io.mkdirP(destinationPath);
          await io.cp(sourcePath, destinationPath, {
            recursive: true,
            copySourceDirectory: false,
          });

    - id: github-actions-bot-user
      uses: ./../self-actions/get-github-actions-bot-user

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions