Skip to content

[bug] release.yml is broken due to use of conflicting keys in on.push #2520

@Unique-Divine

Description

@Unique-Divine

Summary

The GitHub Actions workflow in [release.yml](https://github.com/NibiruChain/nibiru/actions/workflows/release.yml) is currently broken due to an invalid configuration of the push event triggers.

Image

The workflow file [release.yml](https://github.com/NibiruChain/nibiru/blob/e463c68e63e921a62753e1765435931e9cac0b2c/.github/workflows/release.yml) contains a syntax error that prevents it from running. Specifically, the configuration attempt to use both tags and tags-ignore for the same push event, which is not permitted by GitHub Actions.

Error Message:

(Line: 7, Col: 5): you may only define one of tags and tags-ignore for a single event

Problematic Code

The error occurs in the following block:

on:
  push:
    tags:
      - "*"
    tags-ignore:
      - "passkey-bundler/v*"

Proposed Fix

Since the intent is likely to trigger the release workflow for all standard tags while ignoring specific passkey-bundler tags, the configuration should be simplified.

If all standard Nibiru releases follow a v* naming convention, the most robust fix is to replace the conflicting lines with a single inclusion filter:

on:
  push:
    tags:
      - "v*"

This will correctly trigger for tags like v1.2.3 while naturally excluding tags that start with passkey-bundler/. Alternatively, if you want to include all tags except the bundler tags, you must remove the tags block and only keep the tags-ignore block.

Metadata

Metadata

Assignees

Labels

S-triageStatus: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5

Type

Projects

Status

✅ Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions