Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • parity/mirrors/polkadot-sdk
1 result
Show changes
Commits on Source (2)
...@@ -78,8 +78,8 @@ jobs: ...@@ -78,8 +78,8 @@ jobs:
preflight: preflight:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
changes_rust: ${{ steps.set_changes.outputs.rust_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }} changes_rust: true
changes_currentWorkflow: ${{ steps.set_changes.outputs.currentWorkflow_any_changed }} changes_currentWorkflow: true
IMAGE: ${{ steps.set_image.outputs.IMAGE }} IMAGE: ${{ steps.set_image.outputs.IMAGE }}
...@@ -112,19 +112,20 @@ jobs: ...@@ -112,19 +112,20 @@ jobs:
echo "currentWorkflowFile=$(echo ${{ github.workflow_ref }} | sed -nE "s/.*(\.github\/workflows\/[a-zA-Z0-9_-]*\.y[a]?ml)@refs.*/\1/p")" >> $GITHUB_OUTPUT echo "currentWorkflowFile=$(echo ${{ github.workflow_ref }} | sed -nE "s/.*(\.github\/workflows\/[a-zA-Z0-9_-]*\.y[a]?ml)@refs.*/\1/p")" >> $GITHUB_OUTPUT
echo "currentActionDir=$(echo ${{ github.action_path }} | sed -nE "s/.*(\.github\/actions\/[a-zA-Z0-9_-]*)/\1/p")" >> $GITHUB_OUTPUT echo "currentActionDir=$(echo ${{ github.action_path }} | sed -nE "s/.*(\.github\/actions\/[a-zA-Z0-9_-]*)/\1/p")" >> $GITHUB_OUTPUT
- name: Set changes # removed due to https://news.ycombinator.com/item?id=43368870
id: set_changes #- name: Set changes
uses: tj-actions/changed-files@v45 # id: set_changes
with: # uses: tj-actions/changed-files@v45
files_yaml: | # with:
rust: # files_yaml: |
- '**/*' # rust:
- '!.github/**/*' # - '**/*'
- '!prdoc/**/*' # - '!.github/**/*'
- '!docs/**/*' # - '!prdoc/**/*'
currentWorkflow: # - '!docs/**/*'
- '${{ steps.current_file.outputs.currentWorkflowFile }}' # currentWorkflow:
- '.github/workflows/reusable-preflight.yml' # - '${{ steps.current_file.outputs.currentWorkflowFile }}'
# - '.github/workflows/reusable-preflight.yml'
# #
# Set image # Set image
...@@ -180,7 +181,6 @@ jobs: ...@@ -180,7 +181,6 @@ jobs:
shell: bash shell: bash
run: | run: |
echo "workflow file: ${{ steps.current_file.outputs.currentWorkflowFile }}" echo "workflow file: ${{ steps.current_file.outputs.currentWorkflowFile }}"
echo "Modified: ${{ steps.set_changes.outputs.modified_keys }}"
# #
# #
......
...@@ -102,11 +102,11 @@ jobs: ...@@ -102,11 +102,11 @@ jobs:
preflight: preflight:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
changes_substrate: ${{ steps.set_changes.outputs.substrate_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }} changes_substrate: true
changes_cumulus: ${{ steps.set_changes.outputs.cumulus_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }} changes_cumulus: true
changes_polkadot: ${{ steps.set_changes.outputs.polkadot_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }} changes_polkadot: true
changes_bridges: ${{ steps.set_changes.outputs.bridges_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }} changes_bridges: true
changes_templates: ${{ steps.set_changes.outputs.templates_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }} changes_templates: true
ZOMBIENET_IMAGE: ${{ steps.set_vars.outputs.ZOMBIENET_IMAGE }} ZOMBIENET_IMAGE: ${{ steps.set_vars.outputs.ZOMBIENET_IMAGE }}
ZOMBIENET_RUNNER: ${{ steps.set_vars.outputs.ZOMBIENET_RUNNER }} ZOMBIENET_RUNNER: ${{ steps.set_vars.outputs.ZOMBIENET_RUNNER }}
...@@ -139,25 +139,26 @@ jobs: ...@@ -139,25 +139,26 @@ jobs:
echo "currentWorkflowFile=$(echo ${{ github.workflow_ref }} | sed -nE "s/.*(\.github\/workflows\/[a-zA-Z0-9_-]*\.y[a]?ml)@refs.*/\1/p")" >> $GITHUB_OUTPUT echo "currentWorkflowFile=$(echo ${{ github.workflow_ref }} | sed -nE "s/.*(\.github\/workflows\/[a-zA-Z0-9_-]*\.y[a]?ml)@refs.*/\1/p")" >> $GITHUB_OUTPUT
echo "currentActionDir=$(echo ${{ github.action_path }} | sed -nE "s/.*(\.github\/actions\/[a-zA-Z0-9_-]*)/\1/p")" >> $GITHUB_OUTPUT echo "currentActionDir=$(echo ${{ github.action_path }} | sed -nE "s/.*(\.github\/actions\/[a-zA-Z0-9_-]*)/\1/p")" >> $GITHUB_OUTPUT
- name: Set changes # removed due to https://news.ycombinator.com/item?id=43368870
id: set_changes #- name: Set changes
uses: tj-actions/changed-files@v45 # id: set_changes
with: # uses: tj-actions/changed-files@v45
files_yaml: | # with:
substrate: # files_yaml: |
- 'substrate/**/*' # substrate:
cumulus: # - 'substrate/**/*'
- 'cumulus/**/*' # cumulus:
polkadot: # - 'cumulus/**/*'
- 'polkadot/**/*' # polkadot:
bridges: # - 'polkadot/**/*'
- 'bridges/**/*' # bridges:
templates: # - 'bridges/**/*'
- 'templates/**/*' # templates:
currentWorkflow: # - 'templates/**/*'
- '${{ steps.current_file.outputs.currentWorkflowFile }}' # currentWorkflow:
- '.github/workflows/zombienet-reusable-preflight.yml' # - '${{ steps.current_file.outputs.currentWorkflowFile }}'
- '.github/zombienet-env' # - '.github/workflows/zombienet-reusable-preflight.yml'
# - '.github/zombienet-env'
# #
# Set environment vars (including runner/image) # Set environment vars (including runner/image)
...@@ -187,7 +188,6 @@ jobs: ...@@ -187,7 +188,6 @@ jobs:
shell: bash shell: bash
run: | run: |
echo "workflow file: ${{ steps.current_file.outputs.currentWorkflowFile }}" echo "workflow file: ${{ steps.current_file.outputs.currentWorkflowFile }}"
echo "Modified: ${{ steps.set_changes.outputs.modified_keys }}"
echo "ZOMBIENET_IMAGE: ${{ steps.set_vars.outputs.ZOMBIENET_IMAGE }}" echo "ZOMBIENET_IMAGE: ${{ steps.set_vars.outputs.ZOMBIENET_IMAGE }}"
# #
......