difftreelog
fix as per documentation
in: master
3 files changed
.github/workflows/ci-develop.ymldiffbeforeafterboth--- a/.github/workflows/ci-develop.yml
+++ b/.github/workflows/ci-develop.yml
@@ -12,25 +12,25 @@
jobs:
yarn-test-dev:
- if: github.event.pull_request.draft == false
+ if: ${{ github.event.pull_request.draft == 'false' }}
uses: ./.github/workflows/dev-build-tests_v2.yml
unit-test:
- if: github.event.pull_request.draft == false
+ if: ${{ github.event.pull_request.draft == 'false' }}
uses: ./.github/workflows/unit-test_v2.yml
forkless:
- if: contains( github.event.pull_request.labels.*.name, 'forkless')
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'forkless') }}
uses: ./.github/workflows/forkless.yml
canary:
- if: contains( github.event.pull_request.labels.*.name, 'canary')
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}
uses: ./.github/workflows/canary.yml
secrets: inherit # pass all secrets
xcm:
- if: contains( github.event.pull_request.labels.*.name, 'xcm')
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}
uses: ./.github/workflows/xcm.yml
secrets: inherit # pass all secrets
.github/workflows/ci-master.ymldiffbeforeafterboth--- a/.github/workflows/ci-master.yml
+++ b/.github/workflows/ci-master.yml
@@ -12,27 +12,27 @@
jobs:
unit-test:
- if: github.event.pull_request.draft != true
+ if: ${{ github.event.pull_request.draft != 'true' }}
uses: ./.github/workflows/unit-test_v2.yml
node-only-update:
- if: github.event.pull_request.draft == false
+ if: ${{ github.event.pull_request.draft == 'false' }}
uses: ./.github/workflows/node-only-update_v2.yml
forkless:
- if: contains( github.event.pull_request.labels.*.name, 'forkless')
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'forkless') }}
uses: ./.github/workflows/forkless.yml
canary:
- if: contains( github.event.pull_request.labels.*.name, 'canary')
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}
uses: ./.github/workflows/canary.yml
secrets: inherit # pass all secrets
xcm:
- if: contains( github.event.pull_request.labels.*.name, 'xcm')
+ if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}
uses: ./.github/workflows/xcm.yml
secrets: inherit # pass all secrets
codestyle:
- if: github.event.pull_request.draft == false
+ if: ${{ github.event.pull_request.draft == 'false' }}
uses: ./.github/workflows/codestyle_v2.yml
\ No newline at end of file
.github/workflows/codestyle_v2.ymldiffbeforeafterboth1name: cargo fmt23on:4 workflow_call:56jobs:7 rustfmt:8 runs-on: self-hosted-ci910 steps:11 - uses: actions/checkout@v312 - name: Install latest nightly13 uses: actions-rs/toolchain@v114 with:15 toolchain: nightly16 default: true17 target: wasm32-unknown-unknown18 components: rustfmt, clippy 19 - name: Run cargo fmt20 run: cargo fmt -- --check # In that mode it returns only exit code.21 - name: Cargo fmt state22 if: success()23 run: echo "Nothing to do. Command 'cargo fmt -- --check' returned exit code 0."242526 clippy:27 if: ${{ false }}28 runs-on: self-hosted-ci29 30 steps:31 32 - uses: actions/checkout@v333 - name: Install substrate dependencies34 run: sudo apt-get install libssl-dev pkg-config libclang-dev clang35 - name: Install latest nightly36 uses: actions-rs/toolchain@v137 with:38 toolchain: nightly39 default: true40 target: wasm32-unknown-unknown41 components: rustfmt, clippy42 - name: Run cargo check43 run: cargo clippy -- -Dwarnings