From 0b612c835ab35173e6fd25823a2cf0d7842a36d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Mon, 17 Apr 2023 11:34:23 +0200 Subject: [PATCH] chore: Auto assign PR (#3531) ## About the changes This will auto-assign any PR to the opener of the PR. This should help identify internal PRs from external ones, mainly helping our GitHub Watcher role PoC done in unleash-edge: https://github.com/Unleash/unleash-edge/actions/workflows/auto-assign-pr-author.yaml --- .github/workflows/auto-assign-pr-author.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/auto-assign-pr-author.yaml diff --git a/.github/workflows/auto-assign-pr-author.yaml b/.github/workflows/auto-assign-pr-author.yaml new file mode 100644 index 0000000000..b81db4d207 --- /dev/null +++ b/.github/workflows/auto-assign-pr-author.yaml @@ -0,0 +1,14 @@ +name: Auto Assign Author + +on: + pull_request_target: + types: [opened, reopened] + +permissions: + pull-requests: write + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: toshimaru/auto-author-assign@v1.6.2