diff --git a/.github/actions/docs-only/action.yaml b/.github/actions/docs-only/action.yaml deleted file mode 100644 index 7874e36e5..000000000 --- a/.github/actions/docs-only/action.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Check Docs Only Changes -description: A custom action to check if non-documentation files were changed in a pull request. -inputs: - base_ref: - description: 'The base branch to compare against.' - required: true -outputs: - docs_only: - value: ${{ steps.check_docs.outputs.docs_only }} - description: 'Set to true if non-docs files are changed.' -runs: - using: "composite" - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Get list of changed files - shell: bash - run: | - git fetch origin ${{ inputs.base_ref }} - git diff --name-only origin/${{ inputs.base_ref }} > changed_files.txt - - - name: Check for non-docs changes - id: check_docs - shell: bash - run: | - if grep -qvE '\.(md|jpg|png|gif|svg)$|^docs/|^.vscode/|^.gitignore$|^renovate.json$|^.release-please-config.json$|^release-please-config.json$|^CODEOWNERS$|^LICENSE$' changed_files.txt; then - echo "docs_only=false" >> $GITHUB_OUTPUT - else - echo "docs_only=true" >> $GITHUB_OUTPUT - fi diff --git a/.github/workflows/slim-dev-test.yaml b/.github/workflows/slim-dev-test.yaml index fdb0a8b80..aaf804da4 100644 --- a/.github/workflows/slim-dev-test.yaml +++ b/.github/workflows/slim-dev-test.yaml @@ -37,7 +37,6 @@ concurrency: jobs: test: - needs: check-only-non-docs-changes runs-on: ubuntu-latest steps: - name: Checkout the code