Skip to content

Commit 6e43667

Browse files
authored
Merge branch 'master' into feature/lock-step-reason
2 parents cc51f46 + 0db4472 commit 6e43667

2 files changed

Lines changed: 7 additions & 18 deletions

File tree

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Rebase all open PRs when master is updated
2-
# This keeps PRs up-to-date automatically
3-
name: Rebase Open PRs
1+
name: Rebase open PRs
42

53
on:
64
push:
@@ -12,20 +10,11 @@ permissions:
1210
pull-requests: write
1311

1412
jobs:
15-
rebase-open-prs:
13+
rebase-prs:
1614
runs-on: ubuntu-latest
1715
steps:
18-
- name: Rebase all open PRs
16+
- uses: mPokornyETM/rebase-open-prs-action@v1
1917
env:
20-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
GH_REPO: ${{ github.repository }}
22-
run: |
23-
gh pr list --state open --json number,author,isDraft --jq '.[] | select(.isDraft == false) | "\(.number) \(.author.login)"' | while read pr author; do
24-
if [ "$author" = "dependabot[bot]" ]; then
25-
echo "Requesting rebase for Dependabot PR #$pr"
26-
gh pr comment "$pr" --body "@dependabot rebase"
27-
else
28-
echo "Updating branch for PR #$pr"
29-
gh pr update-branch --rebase "$pr" || true
30-
fi
31-
done
18+
GH_TOKEN: ${{ github.token }}
19+
with:
20+
github-token: ${{ github.token }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<dependency>
7272
<groupId>io.jenkins.tools.bom</groupId>
7373
<artifactId>bom-${jenkins.baseline}.x</artifactId>
74-
<version>6210.v69ea_fd8a_f010</version>
74+
<version>6237.v4da_61a_4a_19e5</version>
7575
<type>pom</type>
7676
<scope>import</scope>
7777
</dependency>

0 commit comments

Comments
 (0)