Skip to content

Commit

Permalink
Merge branch 'master' into mutantcornholio-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
up-to-date-action-staging[bot] authored May 7, 2024
2 parents 829e433 + 757ecb0 commit 87948b5
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/cmd-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Command-Action

on:
pull_request:
issue_comment:
types: [created]

jobs:
cmd-check:
runs-on: ubuntu-latest
outputs:
commands: ${{ steps.command.outputs.commands }}
branch: ${{ steps.command.outputs.branch }}
name: Bot
steps:
- uses: paritytech/cmd-action/check@parse-comment
id: command

cmd-run:
needs: [cmd-check]
if: ${{ github.event.issue.pull_request }}
continue-on-error: true
# We set the current machine here (to differ between ours and generic ones)
runs-on: ubuntu-latest
strategy:
matrix:
command: ${{ fromJson(needs.cmd-check.outputs.commands) }}
name: Run command
steps:
- uses: paritytech/cmd-action/run@parse-comment
with:
branch: ${{ needs.cmd-check.outputs.branch }}
command: ${{ matrix.command }}

0 comments on commit 87948b5

Please sign in to comment.