From e7c7b4b116e52c254111ef5537e4c3049ee336e8 Mon Sep 17 00:00:00 2001 From: david adamson Date: Fri, 17 Jan 2025 13:03:03 +1100 Subject: [PATCH] Fix #227 - MOODLE_405_STABLE ci updates --- .github/workflows/ci.yml | 2 ++ .github/workflows/moodle-release.yml | 20 -------------------- README.md | 2 +- 3 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/moodle-release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dd48d9..a656c42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ 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 disable_grunt: true diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml deleted file mode 100644 index f633b21..0000000 --- a/.github/workflows/moodle-release.yml +++ /dev/null @@ -1,20 +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: - - VERSION3 - paths: - - 'version.php' - -jobs: - workflow_group_310_plus_release: - uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-310-plus-release.yml@main - with: - plugin_name: local_envbar - secrets: - moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} diff --git a/README.md b/README.md index 5787c72..0e0762a 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-local_envbar/ci.yml?branch=VERSION3) +[![ci](https://github.com/catalyst/moodle-local_envbar/actions/workflows/ci.yml/badge.svg?branch=MOODLE_405_STABLE)](https://github.com/catalyst/moodle-local_envbar/actions/workflows/ci.yml?branch=MOODLE_405_STABLE) Environment bar - Moodle local plugin ====================