2023-07-12 06:06:20 +02:00
|
|
|
name: Merge-up
|
|
|
|
|
|
|
|
on:
|
2024-05-17 03:57:50 +02:00
|
|
|
# At 8:40 AM UTC, only on Sunday
|
2023-07-12 06:06:20 +02:00
|
|
|
schedule:
|
2024-05-17 03:57:50 +02:00
|
|
|
- cron: '40 8 * * 0'
|
2023-07-20 08:23:58 +02:00
|
|
|
workflow_dispatch:
|
2023-07-12 06:06:20 +02:00
|
|
|
|
2024-05-16 00:15:11 +02:00
|
|
|
permissions: {}
|
|
|
|
|
2023-07-12 06:06:20 +02:00
|
|
|
jobs:
|
|
|
|
merge-up:
|
|
|
|
name: Merge-up
|
|
|
|
# Only run cron on the silverstripe account
|
|
|
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
|
|
|
runs-on: ubuntu-latest
|
2024-05-16 00:15:11 +02:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
actions: write
|
2023-07-12 06:06:20 +02:00
|
|
|
steps:
|
|
|
|
- name: Merge-up
|
|
|
|
uses: silverstripe/gha-merge-up@v1
|