From 91d6807c562a39ce876feda777b641eb0ee64ce9 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 27 Oct 2022 22:55:44 -0700 Subject: [PATCH] [actions] update rebase action --- .github/workflows/rebase.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 5b6d04b..1818191 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -2,14 +2,21 @@ 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@v2 + - uses: actions/checkout@v3 - uses: ljharb/rebase@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}