From 5f66c57ecc044b4056bc4adf5d29210601ff8616 Mon Sep 17 00:00:00 2001 From: david adamson Date: Tue, 14 Jan 2025 13:04:08 +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 3f52804f..a692334a 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_310_STABLE)](https://github.com/catalyst/moodle-tool_objectfs/actions/workflows/ci.yml?branch=MOODLE_310_STABLE) # moodle-tool_objectfs