Schedule Dependabot updates for Monday at 1am JST #95
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Assign reviewer to dependabot PRs | |
| # This action assigns the ScalarDB team as reviewers when Dependabot opens a pull request. | |
| on: | |
| pull_request: | |
| types: [opened] | |
| jobs: | |
| assign-reviewer: | |
| runs-on: ubuntu-latest | |
| if: github.actor == 'dependabot[bot]' | |
| steps: | |
| - name: Assign ScalarDB team as reviewers for Dependabot PRs | |
| env: | |
| GH_TOKEN: ${{ secrets.ASSIGN_PR_REVIEWERS_PAT }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| REPOSITORY: ${{ github.repository }} | |
| run: gh pr edit $PR_NUMBER --repo $REPOSITORY --add-reviewer scalar-labs/scalardb | |