Merge pull request #18985 from Budibase/feature/cron-trigger-improvem… #733
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: Autoupdate Automerge PRs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-branch: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Update eligible PRs | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} | |
| script: | | |
| const run = require("./scripts/autoupdate-automerge") | |
| await run({ github, context, core }) |