From 1b1147a0ced45a6ddda2663dba70a735d7afb82b Mon Sep 17 00:00:00 2001 From: irongut Date: Thu, 7 Oct 2021 15:36:49 +0100 Subject: [PATCH] updated workflows --- .github/workflows/auto-assign-pr.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/auto-assign-pr.yml b/.github/workflows/auto-assign-pr.yml index fffed66..47ad7c2 100644 --- a/.github/workflows/auto-assign-pr.yml +++ b/.github/workflows/auto-assign-pr.yml @@ -1,18 +1,15 @@ # Assign PR to Author # https://github.com/samspills/assign-pr-to-author -# Disabled due to #14 HttpError: Resource not accessible by integration: -# https://github.com/samspills/assign-pr-to-author/issues/14 +name: Auto Assign PR +on: [pull_request] -#name: Auto Assign PR -#on: [pull_request] - -#jobs: -# assignAuthor: -# runs-on: ubuntu-latest -# steps: -# - name: Auto Assign PR -# uses: samspills/assign-pr-to-author@v1.0 -# if: github.event_name == 'pull_request' && github.event.action == 'opened' -# with: -# repo-token: '${{ secrets.GITHUB_TOKEN }}' +jobs: + assignAuthor: + runs-on: ubuntu-latest + steps: + - name: Auto Assign PR + uses: samspills/assign-pr-to-author@v1.0 + if: github.event_name == 'pull_request' && github.event.action == 'opened' + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}'