wezel: Add GitHub Actions runner (#64402)
This PR was created by [Wezel](https://wezel.build) to run assigned experiments in GitHub Actions. After merging it, add the runner token as the `WEZEL_RUNNER_TOKEN` repository secret. Release Notes: - N/A Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
1 parent
f5966f7610
commit
58eb7e54a0
1 file changed
+41
@@ -0,0 +1,41 @@
|
||||
name: Wezel assigned run
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run_id:
|
||||
description: Fiflok run ID
|
||||
required: true
|
||||
type: string
|
||||
experiment_name:
|
||||
description: Experiment to run
|
||||
required: true
|
||||
type: string
|
||||
commit_sha:
|
||||
description: Assigned commit
|
||||
required: true
|
||||
type: string
|
||||
project_dir:
|
||||
description: Directory containing the Wezel project
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: "ubuntu-latest"
|
||||
concurrency:
|
||||
group: wezel-run-${{ inputs.run_id }}
|
||||
cancel-in-progress: false
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||
with:
|
||||
ref: ${{ inputs.commit_sha }}
|
||||
- uses: wezel-build/gh-action@49be2cba2eaa12f1b99ae1c3ee9af3c815cb3125 # v1.0.1
|
||||
with:
|
||||
token: ${{ secrets.WEZEL_RUNNER_TOKEN }}
|
||||
run-id: ${{ inputs.run_id }}
|
||||
experiment-name: ${{ inputs.experiment_name }}
|
||||
project-dir: ${{ inputs.project_dir }}
|
||||
Reference in new issue
Block a user