diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..aaaed2a --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml new file mode 100644 index 0000000..7148a8a --- /dev/null +++ b/.github/workflows/moodle-release.yml @@ -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 }}