Skip to content

Commit

Permalink
Update commands.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mordamax committed Jul 19, 2024
1 parent 8d2e748 commit 4f67f69
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
issue_comment: # listen for comments on issues
types: [created]
if: startsWith(github.event.comment.body, '/cmd')
pull_request:

permissions: # allow the action to comment on the PR
contents: write
Expand Down Expand Up @@ -35,14 +34,15 @@ jobs:
components: "rust-src rustfmt clippy"
toolchain: "nightly-${{env.RUST_NIGHTLY_VERSION}}"


- name: Install dependencies
run: cargo install subweight frame-omni-bencher

- name: Setup Cache
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
with:
shared-key: "fellowship-cmd"

- name: Install dependencies
run: cargo install subweight frame-omni-bencher

- name: Generate a token
id: commands_token
uses: actions/[email protected]
Expand All @@ -63,7 +63,7 @@ jobs:
CMD: ${{ steps.get-pr-comment.outputs.group2 }} # to avoid "" around the command
run: |
echo "Running command: $CMD"
git remove -v
git remote -v
python3 .github/scripts/cmd/cmd.py $CMD
git status
git diff
Expand Down

0 comments on commit 4f67f69

Please sign in to comment.