2020-04-30 03:06:01 +08:00
|
|
|
name: Automatic Rebase
|
|
|
|
|
2020-11-07 15:55:52 +08:00
|
|
|
on: [pull_request_target]
|
2020-04-30 03:06:01 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
_:
|
2021-09-10 14:09:45 +08:00
|
|
|
permissions:
|
|
|
|
contents: write
|
2020-04-30 03:06:01 +08:00
|
|
|
name: "Automatic Rebase"
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-11-22 23:20:50 +08:00
|
|
|
- name: Harden Runner
|
|
|
|
uses: step-security/harden-runner@v1
|
|
|
|
with:
|
|
|
|
allowed-endpoints:
|
|
|
|
api.github.com:443
|
|
|
|
github.com:443
|
2022-10-17 08:51:14 +08:00
|
|
|
- uses: actions/checkout@v3
|
2020-04-30 03:06:01 +08:00
|
|
|
- uses: ljharb/rebase@master
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|