Refactor: eliminate TypeScript "as" keyword (#573) #594
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
# Requires repo secret: PERSONAL_ACCESS_TOKEN with permissions: | |
# Pull Requests: read and write | |
name: Auto-Merge Rebaser | |
on: | |
push: | |
branches: | |
- 'main' | |
schedule: | |
# Every hour | |
- cron: '0 * * * *' | |
jobs: | |
# NOTE(cemmer): this requires PRs to be auto-merge enabled, so this won't run for Renovate PRs | |
# https://github.com/adRise/update-pr-branch/blob/00f3aa159dd699e5e88ae904a6157eb83c482319/src/lib/github.js#L160-L162 | |
autoupdate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: adRise/[email protected] | |
with: | |
# GitHub won't run workflows off of code commits+pushes from the `github-actions` user | |
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
base: 'main' | |
required_approval_count: 0 | |
require_passed_checks: false | |
# Oldest pull request | |
sort: 'created' | |
direction: 'asc' |