From a5efcea422df76f8fb4da321ca848a3f7052d152 Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Mon, 4 Dec 2023 14:34:21 -0500 Subject: [PATCH] Add github workflow integrate.yml --- .github/workflows/integrate.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/integrate.yml 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