Add reusable workflows
This commit is contained in:
parent
4e151b4223
commit
0b39d5fc00
2 changed files with 27 additions and 0 deletions
7
.github/workflows/ci.yml
vendored
Normal file
7
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
name: Run all tests for Moodle 33+
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
workflow_group_33_plus_ci:
|
||||
uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-33-plus-ci.yml@main
|
20
.github/workflows/moodle-release.yml
vendored
Normal file
20
.github/workflows/moodle-release.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
#
|
||||
# Whenever version.php is changed, add the latest version
|
||||
# to the Moodle Plugins directory at https://moodle.org/plugins
|
||||
#
|
||||
name: MOODLE_33PLUS - Releasing in the Plugins directory
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- MOODLE_33PLUS
|
||||
paths:
|
||||
- 'version.php'
|
||||
|
||||
jobs:
|
||||
workflow_group_35_plus_release:
|
||||
uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-35-plus-release.yml@main
|
||||
with:
|
||||
plugin_name: auth_userkey
|
||||
secrets:
|
||||
moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }}
|
Loading…
Reference in a new issue