diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml new file mode 100644 index 0000000..fd85099 --- /dev/null +++ b/.github/workflows/integrate.yml @@ -0,0 +1,22 @@ +name: Integrate + +on: + issue_comment: + types: [ created ] + +jobs: + integrate: + name: Integrate + if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/integrate') + runs-on: ubuntu-latest + steps: + - name: Checkout the latest code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install dependencies + run: bundle exec appraisal install + - name: Run Rubocop + run: bundle exec appraisal rake rubocop + - name: Run Specs + run: bundle exec appraisal rake spec