Skip to content

Commit

Permalink
Update integrate.yml
Browse files Browse the repository at this point in the history
Use double curly in graphql request content
Temporarily remove other steps
  • Loading branch information
danielsilva authored Dec 5, 2023
1 parent de34d64 commit f6af4c5
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,12 @@ jobs:
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/integrate')
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout Pull Request
run: |
PR_NUM=${PR_URL##*/}
gh pr checkout $PR_NUM
- uses: ruby/setup-ruby@master
- name: Install gems
run: bundle install
- 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
- name: Success feedback
if: job.status == 'success'
run: |
gh api graphql --paginate -f query='
mutation {
addReaction(input: { clientMutationId: "integrate.yml", content: THUMBS_UP, subjectId: ${github.event.comment.id} }) {
addReaction(input: { clientMutationId: "integrate.yml", content: THUMBS_UP, subjectId: ${{github.event.comment.id}} }) {
clientMutationId
}
}'

0 comments on commit f6af4c5

Please sign in to comment.