Skip to content

build(deps-dev): bump typescript from 5.4.5 to 5.7.2 #34

build(deps-dev): bump typescript from 5.4.5 to 5.7.2

build(deps-dev): bump typescript from 5.4.5 to 5.7.2 #34

Workflow file for this run

name: Rebase PR
on:
issue_comment:
types: [created]
jobs:
rebase:
if: github.event.issue.pull_request != null && contains(github.event.comment.body, 'rebase pr')
runs-on: ubuntu-latest
steps:
- name: Add Emoji Reaction
env:
GH_TOKEN: ${{ secrets.VERSION_BUMP }}
run: |
COMMENT_ID=${{ github.event.comment.id }}
curl -X POST \
-H "Authorization: Bearer $GH_TOKEN" \
-H "Accept: application/vnd.github.squirrel-girl-preview+json" \
https://api.github.com/repos/${{ github.repository }}/issues/comments/$COMMENT_ID/reactions \
-d '{"content": "+1"}'
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Fetch'
run: git fetch origin
- name: 'Rebase'
run: |
git rebase origin/master
git checkout ${{ github.event.issue.pull_request.head.sha }}
git push --force-with-lease
env:
GH_TOKEN: ${{ secrets.VERSION_BUMP }}