From d43d7190da24d84ddd84c54bf72e55afec41b30b Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Tue, 18 Jun 2024 12:03:48 +0200 Subject: [PATCH] Adjusted publish workflow to new tags-ignore construct Signed-off-by: Andreas Maier --- .github/workflows/publish.yml | 3 ++- changes/noissue.2.cleanup.rst | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changes/noissue.2.cleanup.rst diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 663457a8..82d0cb49 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,8 @@ on: push: # When pushing a tag tags: - "*" - - "!*a0" # Exclude initial tag for a new version + tags-ignore: + - "*a0" # Start tags for a new version jobs: publish: diff --git a/changes/noissue.2.cleanup.rst b/changes/noissue.2.cleanup.rst new file mode 100644 index 00000000..1a25b60f --- /dev/null +++ b/changes/noissue.2.cleanup.rst @@ -0,0 +1,3 @@ +Dev: Adjusted the approach for preventing that the push of the start tag of +a new version triggers the 'publish' workflow to the new GitHub Actions +construct 'tags-ignore'.