23 lines
504 B
YAML
Raw Normal View History

2023-08-09 16:18:48 +12:00
name: Merge-up
on:
2024-05-16 10:23:40 +12:00
# At 5:25 AM UTC, only on Friday
2023-08-09 16:18:48 +12:00
schedule:
2024-05-16 10:23:40 +12:00
- cron: '25 5 * * 5'
2023-08-09 16:18:48 +12:00
workflow_dispatch:
2024-05-16 10:23:40 +12:00
permissions: {}
2023-08-09 16:18:48 +12:00
jobs:
merge-up:
name: Merge-up
2024-05-16 10:23:40 +12:00
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2023-08-09 16:18:48 +12:00
runs-on: ubuntu-latest
2024-05-16 10:23:40 +12:00
permissions:
contents: write
actions: write
2023-08-09 16:18:48 +12:00
steps:
- name: Merge-up
uses: silverstripe/gha-merge-up@v1