1 name: Rebase Pull Request
5 types: [rebase-command]
12 name: Rebase Pull Request
13 runs-on: ubuntu-latest
15 - name: Rebase Pull Request
16 uses: peter-evans/rebase@52289ddc070ea10c8e2530c0740972ff39ac8769
19 token: ${{ secrets.HOMEBREW_CASK_REBASE_TOKEN }}
20 head: ${{ github.event.client_payload.pull_request.head.label }}
22 - name: Add 👍 Reaction
23 if: always() && steps.rebase.outputs.rebased-count == 1
24 uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
26 token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
27 repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
28 comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
31 - name: Add 👎 Reaction
32 if: always() && steps.rebase.outputs.rebased-count != 1
33 uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
35 token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
36 repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
37 comment-id: ${{ github.event.client_payload.github.payload.comment.id }}