|
# 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
ci-github-common/actions/create-and-merge-pull-request/action.yml
Line 35 in 03a5a2a