diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 18181913..b9e1712f 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -2,21 +2,8 @@ name: Automatic Rebase on: [pull_request_target] -permissions: - contents: read - jobs: _: - permissions: - contents: write # for ljharb/rebase to push code to rebase - pull-requests: read # for ljharb/rebase to get info about PR - - name: "Automatic Rebase" - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: ljharb/rebase@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: ljharb/actions/.github/workflows/rebase.yml@main + secrets: + token: ${{ secrets.GITHUB_TOKEN }}