diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9dffc7db54b..1ccbdbe0632 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,15 +3,34 @@ name: ci on: pull_request: push: - branches: - - master + # branches: + # - master concurrency: group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: + pre_test: + name: Pre-test confirmation + runs-on: ubuntu-latest + outputs: + skip_tests: ${{ steps.changed-files.outputs.only_changed }} + steps: + - uses: actions/checkout@v4 + - uses: tj-actions/changed-files@v45 + id: changed-files + with: + files: | + .github/** + !.github/workflows/ci.yaml + docs/** + **.md + .*.yml + test: + needs: pre_test + if: ${{ needs.pre_test.outputs.skip_tests != 'true' }} name: test (${{ matrix.ruby }}, ${{ matrix.rails }}) runs-on: ${{ matrix.os }} timeout-minutes: 15 diff --git a/README.md b/README.md index 4a77def3afe..f8bb97bcf48 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +Test + # Active Admin [Active Admin](https://activeadmin.info) is a Ruby on Rails framework for