ci: update from template #21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push [rebase] | |
"on": | |
push: | |
branches: | |
- main | |
concurrency: | |
group: push-rebase-main | |
cancel-in-progress: true | |
jobs: | |
rebase: | |
name: Push [rebase] | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Rebase all Dependabot's pull requests on every push to the main branch" | |
uses: bbeesley/gha-auto-dependabot-rebase@v1.5.114 | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT }} | |
- name: "Rebase all users' pull requests on release push to the main branch" | |
uses: peter-evans/rebase@v3.1.0 | |
with: | |
base: main | |
exclude-drafts: true | |
exclude-labels: | | |
no-rebase | |
dependencies | |
if: "${{ startsWith(github.event.head_commit.message, 'docs: update changelog for ') }}" |