From 0dfede60845745f889ca833104f0fa917302a122 Mon Sep 17 00:00:00 2001 From: david adamson Date: Wed, 15 Jan 2025 14:09:28 +1100 Subject: [PATCH] Fix #354 --- .github/workflows/ci.yml | 2 ++ .github/workflows/moodle-release.yml | 21 --------------------- README.md | 2 +- 3 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/moodle-release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef23d2d..efb8d3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,5 +6,7 @@ on: [push, pull_request] jobs: ci: uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main + secrets: + moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} with: disable_behat: true diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml deleted file mode 100644 index e587278..0000000 --- a/.github/workflows/moodle-release.yml +++ /dev/null @@ -1,21 +0,0 @@ -# -# Whenever version.php is changed, add the latest version -# to the Moodle Plugins directory at https://moodle.org/plugins -# -name: Releasing in the Plugins directory - -on: - push: - branches: - - MOODLE_39_STABLE - paths: - - 'version.php' - -jobs: - workflow_group_39_plus_release: - uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-39-plus-release.yml@main - with: - plugin_name: auth_outage - disable_behat: true - secrets: - moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} diff --git a/README.md b/README.md index d98a8fa..1ed9eea 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/catalyst/moodle-auth_outage/ci.yml?branch=MOODLE_39_STABLE) +[![ci](https://github.com/catalyst/moodle-auth_outage/actions/workflows/ci.yml/badge.svg?branch=MOODLE_39_STABLE)](https://github.com/catalyst/moodle-auth_outage/actions/workflows/ci.yml?branch=MOODLE_39_STABLE) # Moodle Outage manager plugin - [Moodle Outage manager plugin](#moodle-outage-manager-plugin)