Skip to content

Commit

Permalink
Merge pull request #411 from creative-commoners/pulls/5.0/module-stan…
Browse files Browse the repository at this point in the history
…dardiser-1693279933

MNT Run module-standardiser
  • Loading branch information
GuySartorelli authored Aug 29, 2023
2 parents 1f4f13b + fa7246d commit 6d11050
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Keepalive

on:
workflow_dispatch:
# The 2nd of every month at 12:50pm UTC
# At 11:55 AM UTC, on day 16 of the month
schedule:
- cron: '50 12 2 * *'
- cron: '55 11 16 * *'
workflow_dispatch:

jobs:
keepalive:
name: Keepalive
# Only run cron on the symbiote account
if: (github.event_name == 'schedule' && startsWith(github.repository, 'symbiote/')) || (github.event_name != 'schedule')
if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Keepalive
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/merge-up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Merge-up

on:
# At 12:30 PM UTC, only on Thursday
schedule:
- cron: '30 12 * * 4'
workflow_dispatch:

jobs:
merge-up:
name: Merge-up
# Only run cron on the symbiote account
if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Merge-up
uses: silverstripe/gha-merge-up@v1
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"asyncphp/doorman": "^4"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7"
},
"minimum-stability": "dev",
Expand All @@ -43,4 +43,4 @@
"Symbiote\\QueuedJobs\\Tests\\": "tests/"
}
}
}
}

0 comments on commit 6d11050

Please sign in to comment.