From 25823742cbee295ad46c9bb3edf8b4134ae10c11 Mon Sep 17 00:00:00 2001 From: Thomas Bonnet Date: Wed, 22 May 2024 00:55:44 +0200 Subject: [PATCH] :construction_worker: Add co authors Action --- .github/workflows/co-authors.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/co-authors.yml diff --git a/.github/workflows/co-authors.yml b/.github/workflows/co-authors.yml new file mode 100644 index 0000000..dbbfeca --- /dev/null +++ b/.github/workflows/co-authors.yml @@ -0,0 +1,19 @@ +name: Write coauthors to a pull request +permissions: + pull-requests: write + +on: + issue_comment: + types: + - created + +jobs: + generate-coauthors: + name: Generate Coauthor + if: ${{ github.event.issue.pull_request }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: kevinzunigacuellar/coauthor-action@v0.1.3 + with: + token: ${{ secrets.MRROBOTDOTAPP_BOT_TOKEN }} \ No newline at end of file