From 9bca6dead9fe2320665f123c99b16b346604d7a1 Mon Sep 17 00:00:00 2001 From: Cat Chen Date: Mon, 22 Aug 2022 13:02:50 -0700 Subject: [PATCH] Set up #accept2ship (#350) --- .github/dependabot.yml | 5 ++++- .github/workflows/ship.yml | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ship.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6c63364..0b8a8af 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -23,7 +23,8 @@ updates: registries: - npm-npmjs - npm-registry-npm-pkg-github-com-catchen - open-pull-requests-limit: 10 + labels: + - accept2ship - package-ecosystem: 'github-actions' directory: '/' @@ -35,3 +36,5 @@ updates: - catchen assignees: - catchen + labels: + - accept2ship diff --git a/.github/workflows/ship.yml b/.github/workflows/ship.yml new file mode 100644 index 0000000..85d8a26 --- /dev/null +++ b/.github/workflows/ship.yml @@ -0,0 +1,18 @@ +name: Accept to Ship + +on: + pull_request: + types: [synchronize] + pull_request_review: + types: [submitted, edited] + +jobs: + ship: + runs-on: ubuntu-latest + permissions: write-all + steps: + - uses: actions/checkout@v3 + + - uses: CatChen/accept-to-ship-action@v0.2.2 + with: + merge-method: squash