From 87dd2efaeab88c026195db4c29be3bcf8a4d0d66 Mon Sep 17 00:00:00 2001 From: Krzysztof Findeisen Date: Mon, 7 Apr 2025 13:48:05 -0700 Subject: [PATCH 1/2] Add status badge for CI workflow. The badge can't be filtered to only builds triggered by a tag, but it at least ignores any PR builds. --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index ced3bd5a..09bb9238 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,10 @@ prompt_processing ################# +.. image:: https://github.com/lsst-dm/prompt_processing/actions/workflows/ci-release.yaml/badge.svg?event=push + :target: https://github.com/lsst-dm/prompt_processing/actions/workflows/ci-release.yaml + :alt: Release CI Build Status + ``prompt_processing`` is a package in the `LSST Science Pipelines `_. ``prompt_processing`` contains code used for the Rubin Observatory Prompt Processing framework. From 7631957b80243d6363408b12287075ead682a100 Mon Sep 17 00:00:00 2001 From: Krzysztof Findeisen Date: Mon, 7 Apr 2025 14:09:42 -0700 Subject: [PATCH 2/2] Stop triggering ci-release on merges to main. The branches-ignore filter causes the workflow to trigger on (some) branches, when a pure tags filter would not. --- .github/workflows/ci-release.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/ci-release.yaml b/.github/workflows/ci-release.yaml index 2d558751..1814deb8 100644 --- a/.github/workflows/ci-release.yaml +++ b/.github/workflows/ci-release.yaml @@ -2,16 +2,6 @@ name: Release CI "on": push: - branches-ignore: - # These should always correspond to pull requests, so ignore them for - # the push trigger and let them be triggered by the pull_request - # trigger, avoiding running the workflow twice. This is a minor - # optimization so there's no need to ensure this is comprehensive. - - "dependabot/**" - - "renovate/**" - - "releases/**" - - "tickets/**" - - "u/**" tags: - "*" pull_request: