Skip to content

Commit 890b3f0

Browse files
authored
chore(ci): trigger pr-checks on push, assign autoupdate PRs to siarheidudko (#9)
1 parent d5c8450 commit 890b3f0

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/autoupdate.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ jobs:
124124
--base main \
125125
--head "$AUTOUPDATE_BRANCH" \
126126
--title "chore(deps): autoupdate v${{ steps.pkg.outputs.version }}" \
127-
--body "$BODY")
127+
--body "$BODY" \
128+
--assignee siarheidudko \
129+
--reviewer siarheidudko)
128130
echo "pr_url=$PR_URL" >> "$GITHUB_OUTPUT"
129131
- name: Open draft PR (autoupdater failed)
130132
id: pr_failure
@@ -153,7 +155,9 @@ jobs:
153155
--head "$AUTOUPDATE_BRANCH" \
154156
--title "chore(deps): autoupdate (needs claude fix)" \
155157
--body "$BODY" \
156-
--draft)
158+
--draft \
159+
--assignee siarheidudko \
160+
--reviewer siarheidudko)
157161
echo "pr_url=$PR_URL" >> "$GITHUB_OUTPUT"
158162
- name: Trigger PR checks (GITHUB_TOKEN can't auto-trigger pull_request)
159163
if: steps.pr_success.outputs.pr_url != '' || steps.pr_failure.outputs.pr_url != ''

.github/workflows/pr-checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: PR checks
22
on:
33
pull_request:
44
branches: [main]
5+
push:
6+
branches-ignore: [main]
57
workflow_dispatch:
68
concurrency:
7-
group: "${{ github.workflow }} @ ${{ github.ref }}"
9+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.ref || github.ref }}"
810
cancel-in-progress: true
911
permissions:
1012
contents: read

0 commit comments

Comments
 (0)