Skip to content

Commit

Permalink
added test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed May 15, 2024
1 parent 55f7918 commit e201db7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cmd-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- run: echo "data is $DATA"
env:
DATA: ${{ toJson(github.event.issue) }}
- uses: paritytech/cmd-action/check@error/report-with-comment
- uses: paritytech/cmd-action/check@test
id: command

cmd-run:
Expand All @@ -30,12 +30,19 @@ jobs:
command: ${{ fromJson(needs.cmd-check.outputs.commands) }}
name: Run command
steps:
- uses: paritytech/cmd-action/run@error/report-with-comment
- name: Generate token
id: generate_token
uses: actions/[email protected]
with:
app-id: ${{ secrets.CMD_APP_ID }}
private-key: ${{ secrets.CMD_APP_KEY }}
- uses: paritytech/cmd-action/run@test
with:
branch: ${{ needs.cmd-check.outputs.branch }}
command: ${{ matrix.command.command }}
name: ${{ matrix.command.name }}
pr-number: ${{ github.event.issue.number || github.event.pull_request.number }}
token: ${{ steps.generate_token.outputs.token }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: cmd-action - changes
Expand Down

0 comments on commit e201db7

Please sign in to comment.