2023-08-09 05:01:27 +02:00
|
|
|
name: Merge-up
|
|
|
|
|
|
|
|
on:
|
2024-05-16 00:14:37 +02:00
|
|
|
# At 6:30 PM UTC, only on Thursday
|
2023-08-09 05:01:27 +02:00
|
|
|
schedule:
|
2024-05-16 00:14:37 +02:00
|
|
|
- cron: '30 18 * * 4'
|
2023-08-09 05:01:27 +02:00
|
|
|
workflow_dispatch:
|
|
|
|
|
2024-05-16 00:14:37 +02:00
|
|
|
permissions: {}
|
|
|
|
|
2023-08-09 05:01:27 +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:14:37 +02:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
actions: write
|
2023-08-09 05:01:27 +02:00
|
|
|
steps:
|
|
|
|
- name: Merge-up
|
|
|
|
uses: silverstripe/gha-merge-up@v1
|