From 8ea4b4066e2bad9e900909da7c635990980e8e32 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Mon, 16 Feb 2026 13:29:50 -0600 Subject: [PATCH 1/5] Use local copy on action invocation Fixes #220 --- .github/workflows/soundness.yml | 153 ++++---------------------------- 1 file changed, 16 insertions(+), 137 deletions(-) diff --git a/.github/workflows/soundness.yml b/.github/workflows/soundness.yml index c1b7b59a..f57fa9e7 100644 --- a/.github/workflows/soundness.yml +++ b/.github/workflows/soundness.yml @@ -158,31 +158,17 @@ jobs: timeout-minutes: 20 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Pre-build if: ${{ inputs.linux_pre_build_command }} run: ${{ inputs.linux_pre_build_command }} - name: Run documentation check env: ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_additional_arguments }} - run: ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-docs.sh + run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-docs.sh docs-check-macos: name: Documentation check (macOS) @@ -191,24 +177,10 @@ jobs: timeout-minutes: 20 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Select Xcode run: echo "DEVELOPER_DIR=/Applications/Xcode_${{ inputs.docs_check_macos_xcode_version }}.app" >> $GITHUB_ENV - name: Swift version @@ -218,7 +190,7 @@ jobs: - name: Run documentation check env: ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_macos_additional_arguments }} - run: ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-docs.sh + run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-docs.sh unacceptable-language-check: name: Unacceptable language check @@ -227,28 +199,14 @@ jobs: timeout-minutes: 1 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Run unacceptable language check env: UNACCEPTABLE_WORD_LIST: ${{ inputs.unacceptable_language_check_word_list}} - run: ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-unacceptable-language.sh + run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-unacceptable-language.sh license-header-check: name: License headers check @@ -257,28 +215,14 @@ jobs: timeout-minutes: 1 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Run license header check env: PROJECT_NAME: ${{ inputs.license_header_check_project_name }} - run: ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-license-header.sh + run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-license-header.sh broken-symlink-check: name: Broken symlinks check @@ -287,26 +231,12 @@ jobs: timeout-minutes: 1 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Run broken symlinks check - run: ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-broken-symlinks.sh + run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-broken-symlinks.sh format-check: name: Format check @@ -317,29 +247,15 @@ jobs: timeout-minutes: 20 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Mark the workspace as safe # https://github.com/actions/checkout/issues/766 run: git config --global --add safe.directory ${GITHUB_WORKSPACE} - name: Run format check - run: ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-swift-format.sh + run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-swift-format.sh shell-check: name: Shell check @@ -371,33 +287,14 @@ jobs: timeout-minutes: 5 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Run yamllint run: | which yamllint || (apt -q update && apt install -yq yamllint) - cd ${GITHUB_WORKSPACE} - if [ ! -f ".yamllint.yml" ]; then - echo "Downloading default yamllint config file" - cat ${{ steps.script_path.outputs.root }}/.github/workflows/configs/yamllint.yml > .yamllint.yml - fi - yamllint --strict --config-file .yamllint.yml . + yamllint --strict --config-file $GITHUB_ACTION_PATH/.github/workflows/configs/yamllint.yml . python-lint-check: name: Python lint check @@ -406,30 +303,12 @@ jobs: timeout-minutes: 5 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true - - name: Checkout swiftlang/github-workflows repository - if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 - with: - repository: swiftlang/github-workflows - path: github-workflows - - name: Determine script-root path - id: script_path - run: | - if [ "${{ github.repository }}" = "swiftlang/github-workflows" ]; then - echo "root=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT - else - echo "root=$GITHUB_WORKSPACE/github-workflows" >> $GITHUB_OUTPUT - fi - name: Run flake8 run: | pip3 install flake8 flake8-import-order - cd ${GITHUB_WORKSPACE} - if [ ! -f ".flake8" ]; then - echo "Downloading default flake8 config file" - cat ${{ steps.script_path.outputs.root }}/.github/workflows/configs/.flake8 > .flake8 - fi + cp $GITHUB_ACTION_PATH/.github/workflows/configs/.flake8 > .flake8 flake8 From b73041c25c8042b6437b4d765becaf6c91446dad Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Mon, 16 Feb 2026 17:02:55 -0600 Subject: [PATCH 2/5] Moving jobs with scripts into actions Publishing as an action bundles the directory contents with the action, so we can use helper scripts directly --- .../actions/broken-symlink-check/action.yml | 8 ++++++++ .../check-broken-symlinks.sh | 0 .../check-unacceptable-language/action.yml | 8 ++++++++ .../check-unacceptable-language.sh | 0 .github/actions/docs-check/action.yml | 8 ++++++++ .../docs-check}/check-docs.sh | 0 .github/actions/format-check/action.yml | 8 ++++++++ .../format-check}/check-swift-format.sh | 0 .../actions/license-header-check/action.yml | 8 ++++++++ .../check-license-header.sh | 0 .../python-lint-check}/.flake8 | 0 .github/actions/python-lint-check/action.yml | 14 +++++++++++++ .github/actions/yamllint-check/action.yml | 11 ++++++++++ .../yamllint-check}/yamllint.yml | 0 .github/workflows/soundness.yml | 20 +++++++++---------- .licenseignore | 2 +- 16 files changed, 75 insertions(+), 12 deletions(-) create mode 100644 .github/actions/broken-symlink-check/action.yml rename .github/{workflows/scripts => actions/broken-symlink-check}/check-broken-symlinks.sh (100%) create mode 100644 .github/actions/check-unacceptable-language/action.yml rename .github/{workflows/scripts => actions/check-unacceptable-language}/check-unacceptable-language.sh (100%) create mode 100644 .github/actions/docs-check/action.yml rename .github/{workflows/scripts => actions/docs-check}/check-docs.sh (100%) create mode 100644 .github/actions/format-check/action.yml rename .github/{workflows/scripts => actions/format-check}/check-swift-format.sh (100%) create mode 100644 .github/actions/license-header-check/action.yml rename .github/{workflows/scripts => actions/license-header-check}/check-license-header.sh (100%) rename .github/{workflows/configs => actions/python-lint-check}/.flake8 (100%) create mode 100644 .github/actions/python-lint-check/action.yml create mode 100644 .github/actions/yamllint-check/action.yml rename .github/{workflows/configs => actions/yamllint-check}/yamllint.yml (100%) diff --git a/.github/actions/broken-symlink-check/action.yml b/.github/actions/broken-symlink-check/action.yml new file mode 100644 index 00000000..988226b1 --- /dev/null +++ b/.github/actions/broken-symlink-check/action.yml @@ -0,0 +1,8 @@ +name: broken-symlink-check +description: Check for broken symbolic links +runs: + using: composite + steps: + - name: Run broken symlink check + shell: bash + run: $GITHUB_ACTION_PATH/check-broken-symlinks.sh diff --git a/.github/workflows/scripts/check-broken-symlinks.sh b/.github/actions/broken-symlink-check/check-broken-symlinks.sh similarity index 100% rename from .github/workflows/scripts/check-broken-symlinks.sh rename to .github/actions/broken-symlink-check/check-broken-symlinks.sh diff --git a/.github/actions/check-unacceptable-language/action.yml b/.github/actions/check-unacceptable-language/action.yml new file mode 100644 index 00000000..dbefa77d --- /dev/null +++ b/.github/actions/check-unacceptable-language/action.yml @@ -0,0 +1,8 @@ +name: check-unacceptable-language +description: Check Language Format +runs: + using: composite + steps: + - name: Run unacceptable language check + shell: bash + run: $GITHUB_ACTION_PATH/check-unacceptable-language.sh diff --git a/.github/workflows/scripts/check-unacceptable-language.sh b/.github/actions/check-unacceptable-language/check-unacceptable-language.sh similarity index 100% rename from .github/workflows/scripts/check-unacceptable-language.sh rename to .github/actions/check-unacceptable-language/check-unacceptable-language.sh diff --git a/.github/actions/docs-check/action.yml b/.github/actions/docs-check/action.yml new file mode 100644 index 00000000..118e1f93 --- /dev/null +++ b/.github/actions/docs-check/action.yml @@ -0,0 +1,8 @@ +name: docs-check +description: Check Docs +runs: + using: composite + steps: + - name: Run docs check + shell: bash + run: $GITHUB_ACTION_PATH/check-docs.sh diff --git a/.github/workflows/scripts/check-docs.sh b/.github/actions/docs-check/check-docs.sh similarity index 100% rename from .github/workflows/scripts/check-docs.sh rename to .github/actions/docs-check/check-docs.sh diff --git a/.github/actions/format-check/action.yml b/.github/actions/format-check/action.yml new file mode 100644 index 00000000..0d7fc86f --- /dev/null +++ b/.github/actions/format-check/action.yml @@ -0,0 +1,8 @@ +name: format-check +description: Check Swift Format +runs: + using: composite + steps: + - name: Run format check + shell: bash + run: $GITHUB_ACTION_PATH/check-swift-format.sh diff --git a/.github/workflows/scripts/check-swift-format.sh b/.github/actions/format-check/check-swift-format.sh similarity index 100% rename from .github/workflows/scripts/check-swift-format.sh rename to .github/actions/format-check/check-swift-format.sh diff --git a/.github/actions/license-header-check/action.yml b/.github/actions/license-header-check/action.yml new file mode 100644 index 00000000..c78892b3 --- /dev/null +++ b/.github/actions/license-header-check/action.yml @@ -0,0 +1,8 @@ +name: license-header-check +description: Check License Headers +runs: + using: composite + steps: + - name: Run license header check + shell: bash + run: $GITHUB_ACTION_PATH/check-license-header.sh diff --git a/.github/workflows/scripts/check-license-header.sh b/.github/actions/license-header-check/check-license-header.sh similarity index 100% rename from .github/workflows/scripts/check-license-header.sh rename to .github/actions/license-header-check/check-license-header.sh diff --git a/.github/workflows/configs/.flake8 b/.github/actions/python-lint-check/.flake8 similarity index 100% rename from .github/workflows/configs/.flake8 rename to .github/actions/python-lint-check/.flake8 diff --git a/.github/actions/python-lint-check/action.yml b/.github/actions/python-lint-check/action.yml new file mode 100644 index 00000000..6f6286c5 --- /dev/null +++ b/.github/actions/python-lint-check/action.yml @@ -0,0 +1,14 @@ +name: python-lint-check +description: Check python files +runs: + using: composite + steps: + - name: Install flake + shell: bash + run: pip3 install flake8 flake8-import-order + - name: Copy flake8 config + shell: bash + run: cp $GITHUB_ACTION_PATH/.github/workflows/configs/.flake8 > .flake8 + - name: Run flake8 + shell: bash + run: flake8 diff --git a/.github/actions/yamllint-check/action.yml b/.github/actions/yamllint-check/action.yml new file mode 100644 index 00000000..6a956d45 --- /dev/null +++ b/.github/actions/yamllint-check/action.yml @@ -0,0 +1,11 @@ +name: yamllint-check +description: Check yaml files +runs: + using: composite + steps: + - name: Install yamllint + shell: bash + run: which yamllint || (apt -q update && apt install -yq yamllint) + - name: Run yaml lint + shell: bash + run: yamllint --strict --config-file $GITHUB_ACTION_PATH/yamllint.yml . diff --git a/.github/workflows/configs/yamllint.yml b/.github/actions/yamllint-check/yamllint.yml similarity index 100% rename from .github/workflows/configs/yamllint.yml rename to .github/actions/yamllint-check/yamllint.yml diff --git a/.github/workflows/soundness.yml b/.github/workflows/soundness.yml index f57fa9e7..cf4e720b 100644 --- a/.github/workflows/soundness.yml +++ b/.github/workflows/soundness.yml @@ -118,7 +118,7 @@ jobs: timeout-minutes: 40 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # This is set to true since swift package diagnose-api-breaking-changes is # cloning the repo again and without it being set to true this job won't work for @@ -168,7 +168,7 @@ jobs: - name: Run documentation check env: ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_additional_arguments }} - run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-docs.sh + run: ./.github/actions/docs-check docs-check-macos: name: Documentation check (macOS) @@ -190,7 +190,7 @@ jobs: - name: Run documentation check env: ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_macos_additional_arguments }} - run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-docs.sh + run: ./.github/actions/docs-check unacceptable-language-check: name: Unacceptable language check @@ -206,7 +206,7 @@ jobs: - name: Run unacceptable language check env: UNACCEPTABLE_WORD_LIST: ${{ inputs.unacceptable_language_check_word_list}} - run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-unacceptable-language.sh + run: ./.github/actions/check-unacceptable-language license-header-check: name: License headers check @@ -222,7 +222,7 @@ jobs: - name: Run license header check env: PROJECT_NAME: ${{ inputs.license_header_check_project_name }} - run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-license-header.sh + uses: ./.github/actions/license-header-check broken-symlink-check: name: Broken symlinks check @@ -236,7 +236,7 @@ jobs: persist-credentials: false submodules: true - name: Run broken symlinks check - run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-broken-symlinks.sh + run: ./.github/actions/broken-symlinks-check format-check: name: Format check @@ -255,7 +255,7 @@ jobs: # https://github.com/actions/checkout/issues/766 run: git config --global --add safe.directory ${GITHUB_WORKSPACE} - name: Run format check - run: $GITHUB_ACTION_PATH/.github/workflows/scripts/check-swift-format.sh + uses: ./.github/actions/format-check shell-check: name: Shell check @@ -268,7 +268,7 @@ jobs: - name: Install git run: which git || (apt -q update && apt -yq install git) - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false submodules: true @@ -292,9 +292,7 @@ jobs: persist-credentials: false submodules: true - name: Run yamllint - run: | - which yamllint || (apt -q update && apt install -yq yamllint) - yamllint --strict --config-file $GITHUB_ACTION_PATH/.github/workflows/configs/yamllint.yml . + uses: ./.github/actions/yamllint-check python-lint-check: name: Python lint check diff --git a/.licenseignore b/.licenseignore index ee4247a1..d5a53537 100644 --- a/.licenseignore +++ b/.licenseignore @@ -1,4 +1,4 @@ -.github/workflows/configs/.flake8 +.github/actions/python-lint-check/.flake8 **/*.yml CODEOWNERS LICENSE.txt From cc521e4dad4b6e8d7511fbc2a2a5816e42970e2c Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Mon, 16 Feb 2026 20:31:29 -0600 Subject: [PATCH 3/5] Fix command to copy flake8 config file --- .github/actions/python-lint-check/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/python-lint-check/action.yml b/.github/actions/python-lint-check/action.yml index 6f6286c5..3e0d4965 100644 --- a/.github/actions/python-lint-check/action.yml +++ b/.github/actions/python-lint-check/action.yml @@ -8,7 +8,7 @@ runs: run: pip3 install flake8 flake8-import-order - name: Copy flake8 config shell: bash - run: cp $GITHUB_ACTION_PATH/.github/workflows/configs/.flake8 > .flake8 + run: cp $GITHUB_ACTION_PATH/.github/workflows/configs/.flake8 .flake8 - name: Run flake8 shell: bash run: flake8 From 643fadc3c9ea8437ef503b706a9067f941618da0 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Tue, 17 Feb 2026 07:24:25 -0600 Subject: [PATCH 4/5] fix uses --- .github/workflows/soundness.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/soundness.yml b/.github/workflows/soundness.yml index cf4e720b..4c543663 100644 --- a/.github/workflows/soundness.yml +++ b/.github/workflows/soundness.yml @@ -168,7 +168,7 @@ jobs: - name: Run documentation check env: ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_additional_arguments }} - run: ./.github/actions/docs-check + uses: ./.github/actions/docs-check docs-check-macos: name: Documentation check (macOS) @@ -190,7 +190,7 @@ jobs: - name: Run documentation check env: ADDITIONAL_DOCC_ARGUMENTS: ${{ inputs.docs_check_macos_additional_arguments }} - run: ./.github/actions/docs-check + uses: ./.github/actions/docs-check unacceptable-language-check: name: Unacceptable language check @@ -206,7 +206,7 @@ jobs: - name: Run unacceptable language check env: UNACCEPTABLE_WORD_LIST: ${{ inputs.unacceptable_language_check_word_list}} - run: ./.github/actions/check-unacceptable-language + uses: ./.github/actions/check-unacceptable-language license-header-check: name: License headers check @@ -236,7 +236,7 @@ jobs: persist-credentials: false submodules: true - name: Run broken symlinks check - run: ./.github/actions/broken-symlinks-check + uses: ./.github/actions/broken-symlinks-check format-check: name: Format check @@ -306,7 +306,4 @@ jobs: persist-credentials: false submodules: true - name: Run flake8 - run: | - pip3 install flake8 flake8-import-order - cp $GITHUB_ACTION_PATH/.github/workflows/configs/.flake8 > .flake8 - flake8 + uses: ./.github/actions/python-lint-check From 854f793804ff4bba95f91ff5e17890419fc294f2 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Wed, 18 Feb 2026 07:24:23 -0600 Subject: [PATCH 5/5] test failures --- .../{broken-symlink-check => broken-symlinks-check}/action.yml | 0 .../check-broken-symlinks.sh | 0 .github/actions/python-lint-check/action.yml | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename .github/actions/{broken-symlink-check => broken-symlinks-check}/action.yml (100%) rename .github/actions/{broken-symlink-check => broken-symlinks-check}/check-broken-symlinks.sh (100%) diff --git a/.github/actions/broken-symlink-check/action.yml b/.github/actions/broken-symlinks-check/action.yml similarity index 100% rename from .github/actions/broken-symlink-check/action.yml rename to .github/actions/broken-symlinks-check/action.yml diff --git a/.github/actions/broken-symlink-check/check-broken-symlinks.sh b/.github/actions/broken-symlinks-check/check-broken-symlinks.sh similarity index 100% rename from .github/actions/broken-symlink-check/check-broken-symlinks.sh rename to .github/actions/broken-symlinks-check/check-broken-symlinks.sh diff --git a/.github/actions/python-lint-check/action.yml b/.github/actions/python-lint-check/action.yml index 3e0d4965..ac010f43 100644 --- a/.github/actions/python-lint-check/action.yml +++ b/.github/actions/python-lint-check/action.yml @@ -8,7 +8,7 @@ runs: run: pip3 install flake8 flake8-import-order - name: Copy flake8 config shell: bash - run: cp $GITHUB_ACTION_PATH/.github/workflows/configs/.flake8 .flake8 + run: cp $GITHUB_ACTION_PATH/.flake8 .flake8 - name: Run flake8 shell: bash run: flake8