Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

22 lines
542B

  1. name: Automatic Rebase
  2. # https://github.com/marketplace/actions/automatic-rebase
  3. on:
  4. issue_comment:
  5. types: [created]
  6. jobs:
  7. rebase:
  8. name: Rebase
  9. if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout the latest code
  13. uses: actions/checkout@v2
  14. with:
  15. fetch-depth: 0
  16. - name: Automatic Rebase
  17. uses: cirrus-actions/rebase@1.3.1
  18. env:
  19. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}