diff --git a/.github/auto-assign-issues.yml b/.github/auto-assign-issues.yml deleted file mode 100644 index 53c2cdc5..00000000 --- a/.github/auto-assign-issues.yml +++ /dev/null @@ -1,8 +0,0 @@ -# If enabled, auto-assigns users when a new issue is created -# Defaults to true, allows you to install the app globally, and disable on a per-repo basis -addAssignees: true - -# The list of users to assign to new issues. -# If empty or not provided, the repository owner is assigned -assignees: - - S-Dafarra diff --git a/.github/workflows/assign-issue.yml b/.github/workflows/assign-issue.yml new file mode 100644 index 00000000..a4da82de --- /dev/null +++ b/.github/workflows/assign-issue.yml @@ -0,0 +1,15 @@ +name: Automatic issue assignment + +on: + issues: + types: [opened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + assignees: ${{ secrets.DEFAULT_ISSUE_ASSIGNEE }}