Skip to content

PR Automation

PR Automation #3

Workflow file for this run

name: PR Automation
on:
schedule:
- cron: "*/5 * * * *"
workflow_dispatch:
jobs:
churn:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4.2.0
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4.0.2
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Run automation
run: npm run automation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_BRANCH: main
AUTOMATION_BRANCH_PREFIX: auto
AUTOMATION_LABEL: automation
AUTOMATION_FILE_PATH: automation/heartbeat.txt