From 049c9bb6bab81c522ad3a30dd7d9d466f57ddfe1 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 12 Jan 2021 19:58:06 -0800 Subject: [PATCH] [meta] add "Allow Edits" workflow; update rebase workflow --- .github/workflows/rebase.yml | 2 +- .github/workflows/require-allow-edits.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/require-allow-edits.yml diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 0c2ad39b..027aed07 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - 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 00000000..549d7b48 --- /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