forked from polkadot-fellows/runtimes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|