Skip to content

(Shared) PR

(Shared) PR #2

Workflow file for this run

# This file is @generated by <https://github.com/liblaf/copier-shared>.
# DO NOT EDIT!
name: (Shared) PR
on:
schedule:
- cron: "0 0 * * *"
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
merge:
name: Merge
permissions:
pull-requests: write
if: >-
(
github.event_name == 'schedule' &&
github.event.schedule == '0 0 * * 0'
) || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-merge
cancel-in-progress: true
steps:
- name: Merge
uses: liblaf/actions/pr-label@main
with:
add-label: automerge
label: "autorelease: pending"
token: ${{ secrets.PAT || github.token }}
review:
name: Review
permissions:
pull-requests: write
if: >-
(
github.event_name == 'schedule' &&
github.event.schedule == '0 0 * * *'
) || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-review
cancel-in-progress: true
steps:
- name: Review
uses: liblaf/actions/pr-review@main
with:
token: ${{ secrets.PAT || github.token }}