backport-bot.yml 643 B

123456789101112131415161718192021
  1. name: Backport Bot
  2. on:
  3. issues:
  4. types: [labeled]
  5. pull_request:
  6. types: [labeled]
  7. push:
  8. branches:
  9. - '*.x'
  10. jobs:
  11. build:
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v3
  15. - uses: actions/setup-java@v3
  16. with:
  17. distribution: 'temurin'
  18. java-version: '17'
  19. - run: wget https://github.com/spring-io/backport-bot/releases/download/latest/backport-bot-0.0.1-SNAPSHOT.jar
  20. - 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) }}'