diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000000..717af2a0c8 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1 @@ +addAssignees: author diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8addabe6e7..83a10eebe1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -12,6 +12,13 @@ permissions: statuses: write jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v2.0.0 + with: + configuration-path: '.github/auto-assign.yml' + main: name: Validate PR title runs-on: ubuntu-latest diff --git a/backend/src/graphql/resolvers/dal/handleOpenRooms.ts b/backend/src/graphql/resolvers/dal/handleOpenRooms.ts index 4be42fcd11..b242d4cab4 100644 --- a/backend/src/graphql/resolvers/dal/handleOpenRooms.ts +++ b/backend/src/graphql/resolvers/dal/handleOpenRooms.ts @@ -27,5 +27,5 @@ export const handleOpenRooms = async (): Promise => { export const checkForOpenRooms = (): void => { void handleOpenRooms() - setTimeout(checkForOpenRooms, 60 * 1000) + setTimeout(checkForOpenRooms, 10 * 1000) }