rename region extraction gallery examples section (#1307) #271
This file contains 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
# Reference: | |
# - https://github.com/tibdex/github-app-token | |
# - https://github.com/adRise/update-pr-branch | |
name: ci-update | |
on: | |
push: | |
branches: | |
- "main" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
autoupdate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "generate token" | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a | |
id: generate-token | |
with: | |
app_id: ${{ secrets.AUTH_APP_ID }} | |
private_key: ${{ secrets.AUTH_APP_PRIVATE_KEY }} | |
- name: "automatically update PR" | |
uses: adRise/update-pr-branch@3576c22e28fb6f665417bfe3a83f9da7ca5363e2 | |
with: | |
token: ${{ steps.generate-token.outputs.token }} | |
base: "main" | |
required_approval_count: 1 | |
require_passed_checks: true | |
sort: "created" | |
direction: "desc" | |
require_auto_merge_enabled: true |