Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/wasinix-command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Wasinix command

# `/wasinix <command>` on a pull request. The pipeline lives in wasinix's
# ci-command-run.yml: it authorizes and runs the command against a
# wasix-org/wasinix checkout, maps this repository's PR onto an override of its
# packaged pin, and replies on the PR the comment came from. This file is only
# the trigger.
on:
issue_comment:
types: [created]

concurrency:
group: command-${{ github.repository_id }}-pr-${{ github.event.issue.number }}
cancel-in-progress: false

jobs:
command:
# Cheap pre-filter only; authorization decides for real.
if: >-
github.event.issue.pull_request && contains(github.event.comment.body,
'/wasinix')
permissions:
contents: write
checks: write
pull-requests: write
# The timings job reads the run's own step records.
actions: read
uses: wasix-org/wasinix/.github/workflows/ci-command-run.yml@main
secrets: inherit
with:
builder-runs-on: ubuntu-24.04
eval-workers: "2"
eval-memory: "8192"
Loading