File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1+ * @ sequelize/code-reviewers
Original file line number Diff line number Diff line change 11# These are supported funding model platforms
22
3- github : # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3+ github : sequelize
44patreon : # Replace with a single Patreon username
55open_collective : sequelize
66ko_fi : # Replace with a single Ko-fi username
Original file line number Diff line number Diff line change 1+ name : auto-update PRs & label conflicts
2+ on :
3+ push :
4+ branches :
5+ - main
6+ # can also be used with the pull_request event
7+ pull_request_target :
8+ types :
9+ - synchronize
10+ # allow the workflow to correct any label incorrectly added or removed by a user.
11+ - labeled
12+ - unlabeled
13+ # update the PR as soon as the auto-merge is enabled.
14+ - auto_merge_enabled
15+ # process the PR once they appear in the search filters
16+ - ready_for_review
17+ - opened
18+ - reopened
19+ jobs :
20+ autoupdate :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Generate Sequelize Bot Token
24+ id : generate-token
25+ uses : actions/create-github-app-token@v1
26+ with :
27+ app-id : ' ${{ secrets.SEQUELIZE_BOT_APP_ID }}'
28+ private-key : ' ${{ secrets.SEQUELIZE_BOT_PRIVATE_KEY }}'
29+ - uses : sequelize/pr-auto-update-and-handle-conflicts@3ff4c1ae3b521ccd0a6bed0de19911d555b7da8d # 1.0.0
30+ with :
31+ conflict-label : ' conflicted'
32+ conflict-requires-ready-state : ' ready_for_review'
33+ conflict-excluded-authors : ' bot/renovate'
34+ update-pr-branches : true
35+ update-requires-auto-merge : true
36+ update-requires-ready-state : ' ready_for_review'
37+ update-excluded-authors : ' bot/renovate'
38+ update-excluded-labels : ' no-autoupdate'
39+ env :
40+ GITHUB_TOKEN : ' ${{ steps.generate-token.outputs.token }}'
You can’t perform that action at this time.
0 commit comments