Skip to content

Commit 8e750ac

Browse files
committed
Migrate spring-backport-issue.yml to spring-io/backport-bot action
* Remove temporary an `if` from the `spring-backport-issue.yml`
1 parent 771879d commit 8e750ac

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

.github/workflows/spring-backport-issue.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,10 @@ on:
88

99
jobs:
1010
backport-issue:
11-
if: contains(github.event.head_commit.message, 'Fixes:') || contains(github.event.head_commit.message, 'Closes:')
1211
runs-on: ubuntu-latest
1312
steps:
1413

15-
- uses: actions/checkout@v5
16-
with:
17-
show-progress: false
18-
19-
- uses: actions/setup-java@v5
20-
with:
21-
distribution: temurin
22-
java-version: 24
23-
2414
- name: Create Backport Issue
25-
run: |
26-
wget -q https://github.com/spring-io/backport-bot/releases/download/latest/backport-bot-0.0.1-SNAPSHOT.jar
27-
java -jar backport-bot-0.0.1-SNAPSHOT.jar \
28-
--github.accessToken="$GITHUB_TOKEN" \
29-
--github.event_name "$GITHUB_EVENT_NAME" \
30-
--github.event "$GITHUB_EVENT"
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
33-
GITHUB_EVENT: ${{ toJSON(github.event) }}
34-
SPRING_MAIN_BANNERMODE: off
35-
15+
uses: spring-io/backport-bot@v0.0.1
16+
with:
17+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 commit comments

Comments
 (0)