test issue2679 skip ci #189
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
# Below are the full description for the shorten job names: | |
# | |
# ce - cactus-example | |
# cp - cactus-plugin | |
# cpk - cactus-plugin-keychain | |
# cpl - cactus-plugin-ledger | |
# cplc - cactus-plugin-ledger-connector | |
# plc - plugin-ledger-connector | |
# cpp - cactus-plugin-persistence | |
# ct - cactus-test | |
# ctp - cactus-test-plugin | |
--- | |
name: SKIP-CI | |
on: [pull_request] | |
env: | |
NODEJS_VERSION: v18.18.2 | |
jobs: | |
hello_world_job: | |
runs-on: ubuntu-latest | |
name: Should success | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- uses: mstachniuk/ci-skip@v1 | |
- name: Check if expression CI_SKIP | |
# Remember to check condition in each step | |
if: ${{ env.CI_SKIP == 'false' }} | |
run: | | |
echo "This step should not be executed when commit message contains [ci skip]" | |
- name: Check if expression CI_SKIP_NOT | |
# Remember to check condition in each step | |
if: ${{ env.CI_SKIP_NOT == 'true' }} | |
run: | | |
echo "This step should not be executed when commit message contains [ci skip]" | |