Skip to content

Commit 1d4bf88

Browse files
committed
Cleanup backport-bot.yml
Issue gh-11313
1 parent 6b1d5ec commit 1d4bf88

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/backport-bot.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,10 @@ jobs:
1717
with:
1818
distribution: 'temurin'
1919
java-version: '17'
20-
- run: wget https://github.com/spring-io/backport-bot/releases/download/latest/backport-bot-0.0.1-SNAPSHOT.jar
21-
- run: java -jar backport-bot-0.0.1-SNAPSHOT.jar --github.accessToken="${{ secrets.GITHUB_TOKEN }}" --github.event_name "${{ github.event_name }}" --github.event '${{ toJSON(github.event) }}'
20+
- name: Download BackportBot
21+
run: wget https://github.com/spring-io/backport-bot/releases/download/latest/backport-bot-0.0.1-SNAPSHOT.jar
22+
- name: Backport
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GITHUB_EVENT: ${{ toJSON(github.event) }}
26+
run: java -jar backport-bot-0.0.1-SNAPSHOT.jar --github.accessToken="$GITHUB_TOKEN" --github.event_name "$GITHUB_EVENT_NAME" --github.event "$GITHUB_EVENT"

0 commit comments

Comments
 (0)