mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:43:51 +08:00
e584617c2e
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.1...1d96c772d19495a3b5c517cd2bc0cb401ea0529f) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
19 lines
582 B
YAML
19 lines
582 B
YAML
name: Automatic Rebase
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
jobs:
|
|
rebase:
|
|
name: Rebase
|
|
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
|
with:
|
|
token: ${{ secrets.PAT_TOKEN }}
|
|
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
|
|
- name: Automatic Rebase
|
|
uses: cirrus-actions/rebase@1.8
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|