Skip to content

ci-changelog report to stdout by default (#1090) #88

ci-changelog report to stdout by default (#1090)

ci-changelog report to stdout by default (#1090) #88

# 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@v2
id: generate-token
with:
app_id: ${{ secrets.AUTH_APP_ID }}
private_key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}
- name: "automatically update PR"
uses: adRise/[email protected]
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