GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/.github/workflows/close-prs.yml at dev · Archipel/opencode 50 lines (43 loc) · 1.34 KB / Copy pathclose-prs.ymlFile metadata and controls50 lines (43 loc) · 1.34 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 name: close-prs on: schedule: - cron: "0 22 * * *" # Daily at 10:00 PM UTC workflow_dispatch: inputs: dry-run: description: "Log matching PRs without closing them" type: boolean default: true max-close: description: "Maximum matching PRs to close" type: string required: false default: "50" jobs: close: runs-on: ubuntu-latest timeout-minutes: 240 permissions: contents: read issues: write pull-requests: write steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 with: bun-version: latest - name: Close old PRs without enough positive reactions env: GITHUB_TOKEN: ${{ github.token }} run: | max_close="${{ inputs['max-close'] }}" if [ -z "$max_close" ]; then max_close="50" fi args=("--threshold" "2" "--age-months" "1" "--sleep-ms" "20000" "--max-close" "$max_close") if [ "${{ github.event_name }}" = "schedule" ]; then args+=("--execute") elif [ "${{ inputs['dry-run'] }}" = "false" ]; then args+=("--execute") fi bun script/github/close-prs.ts "${args[@]}" |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |