From e54b466b5726c443473a5d2d74098a11bf3f86e0 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sat, 26 Dec 2020 21:45:26 -0800 Subject: [PATCH] [meta] add Automatic Rebase and Require Allow Edits workflows --- .github/workflows/rebase.yml | 15 +++++++++++++++ .github/workflows/require-allow-edits.yml | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/rebase.yml create mode 100644 .github/workflows/require-allow-edits.yml diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml new file mode 100644 index 000000000..027aed079 --- /dev/null +++ b/.github/workflows/rebase.yml @@ -0,0 +1,15 @@ +name: Automatic Rebase + +on: [pull_request_target] + +jobs: + _: + name: "Automatic Rebase" + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: ljharb/rebase@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/require-allow-edits.yml b/.github/workflows/require-allow-edits.yml new file mode 100644 index 000000000..549d7b482 --- /dev/null +++ b/.github/workflows/require-allow-edits.yml @@ -0,0 +1,12 @@ +name: Require “Allow Edits” + +on: [pull_request_target] + +jobs: + _: + name: "Require “Allow Edits”" + + runs-on: ubuntu-latest + + steps: + - uses: ljharb/require-allow-edits@main