From 44832d05c437ed1a0084a0749b5786839913d6da Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Mon, 14 Dec 2020 17:17:25 +0100 Subject: [PATCH 1/3] lets try this :) --- .github/auto-assign.yml | 11 +++++++++++ .github/workflows/auto_assign.yml | 21 ++++++++++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 .github/auto-assign.yml diff --git a/.github/auto-assign.yml b/.github/auto-assign.yml new file mode 100644 index 0000000..48e9541 --- /dev/null +++ b/.github/auto-assign.yml @@ -0,0 +1,11 @@ +# Set to true to add assignees to PRs +addAssignees: true + +# A list of assignees, overrides reviewers if set +assignees: + - peterus + +# A number of assignees to add to the PRs +# Set to 0 to add all of the assignees. +# Uses numberOfReviewers if unset. +numberOfAssignees: 0 diff --git a/.github/workflows/auto_assign.yml b/.github/workflows/auto_assign.yml index 30cedb9..fc9d534 100644 --- a/.github/workflows/auto_assign.yml +++ b/.github/workflows/auto_assign.yml @@ -1,15 +1,22 @@ -name: Issue assignment - +name: Auto Assign on: issues: types: [opened] + pull_request: + types: [opened] jobs: - auto-assign: + test: runs-on: ubuntu-latest steps: - - name: 'Auto-assign issue' - uses: pozil/auto-assign-issue@v1 + - uses: actions/checkout@v2 + - name: 🚧 Install + run: | + yarn + - name: 📦 Build + run: | + yarn build + - uses: ./ with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - assignees: peterus + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CONFIG_FILE: .github/auto-assign.yml \ No newline at end of file From ff9fedeed88fd5776e8d57734ebd01b6cab04194 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Mon, 14 Dec 2020 17:20:42 +0100 Subject: [PATCH 2/3] ups... --- .github/workflows/auto_assign.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/auto_assign.yml b/.github/workflows/auto_assign.yml index fc9d534..79c4105 100644 --- a/.github/workflows/auto_assign.yml +++ b/.github/workflows/auto_assign.yml @@ -4,19 +4,11 @@ on: types: [opened] pull_request: types: [opened] - jobs: - test: + run: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: 🚧 Install - run: | - yarn - - name: 📦 Build - run: | - yarn build - - uses: ./ + - uses: bubkoo/auto-assign@v1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG_FILE: .github/auto-assign.yml \ No newline at end of file + CONFIG_FILE: .github/auto-assign.yml From 08591a30d160044bc9550f1469bf63a25117c42d Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Mon, 14 Dec 2020 17:26:57 +0100 Subject: [PATCH 3/3] cleanup --- .github/auto-assign.yml | 11 ----------- .github/workflows/auto_assign.yml | 14 -------------- 2 files changed, 25 deletions(-) delete mode 100644 .github/auto-assign.yml delete mode 100644 .github/workflows/auto_assign.yml diff --git a/.github/auto-assign.yml b/.github/auto-assign.yml deleted file mode 100644 index 48e9541..0000000 --- a/.github/auto-assign.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Set to true to add assignees to PRs -addAssignees: true - -# A list of assignees, overrides reviewers if set -assignees: - - peterus - -# A number of assignees to add to the PRs -# Set to 0 to add all of the assignees. -# Uses numberOfReviewers if unset. -numberOfAssignees: 0 diff --git a/.github/workflows/auto_assign.yml b/.github/workflows/auto_assign.yml deleted file mode 100644 index 79c4105..0000000 --- a/.github/workflows/auto_assign.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Auto Assign -on: - issues: - types: [opened] - pull_request: - types: [opened] -jobs: - run: - runs-on: ubuntu-latest - steps: - - uses: bubkoo/auto-assign@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG_FILE: .github/auto-assign.yml