From 328b014b8493515e9f8e2d7b628e07af7f35e627 Mon Sep 17 00:00:00 2001 From: Mari Date: Fri, 17 May 2024 15:04:11 +0200 Subject: [PATCH] assign the team to dependabot updates (#300) --- .../workflows/weekly_dependency_update.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/weekly_dependency_update.yml diff --git a/.github/workflows/weekly_dependency_update.yml b/.github/workflows/weekly_dependency_update.yml new file mode 100644 index 0000000..93ff883 --- /dev/null +++ b/.github/workflows/weekly_dependency_update.yml @@ -0,0 +1,22 @@ +name: Assign weekly release dependabot reviewer +on: + pull_request: + branches: + - "dependabot/*" + types: + - opened + - ready_for_review + +permissions: + pull-requests: write + +jobs: + assign: + runs-on: ubuntu-latest + steps: + - name: assign dependency updates team to pull request + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + url: ${{ github.event.pull_request.html_url }} + run: | + gh pr edit "$url" --add-reviewer fiberplane/cli-devs-dependency-updates