From 0c2b62d998c54d60d9df35864c2a9979c103b03b Mon Sep 17 00:00:00 2001 From: david adamson Date: Mon, 13 Jan 2025 16:57:28 +1100 Subject: [PATCH] Update for #463: change ci badge, add secret to ci.yml, remove moodle-release.yml --- .github/workflows/ci.yml | 2 ++ .github/workflows/moodle-release.yml | 17 ----------------- README.md | 4 +--- 3 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/moodle-release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecd6546a..b05968ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,3 +6,5 @@ on: [push, pull_request] jobs: ci: uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main + secrets: + moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml deleted file mode 100644 index 5d251fbc..00000000 --- a/.github/workflows/moodle-release.yml +++ /dev/null @@ -1,17 +0,0 @@ -# .github/workflows/moodle-release.yml -name: Releasing in the Plugins directory - -on: - push: - branches: - - MOODLE_310_STABLE - paths: - - 'version.php' - -jobs: - release: - uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-310-plus-release.yml@main - with: - plugin_name: tool_objectfs - secrets: - moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} diff --git a/README.md b/README.md index 9e1ce76e..c2832fc5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ - - - +[![ci](https://github.com/catalyst/moodle-tool_objectfs/actions/workflows/ci.yml/badge.svg?branch=MOODLE_402_STABLE)](https://github.com/catalyst/moodle-tool_objectfs/actions/workflows/ci.yml?branch=MOODLE_402_STABLE) # moodle-tool_objectfs