]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
.github: fix workflow format error
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 9 Jul 2025 16:02:11 +0000 (12:02 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 9 Jul 2025 18:45:50 +0000 (14:45 -0400)
    Warning: Encountered an error when evaluating display name ${{ format('python3 ceph/src/script/redmine-upkeep.py --github-action --git-dir=./ceph/ {0} {1}
    ', github.event_name == 'workflow_dispatch' && (inputs.debug && '--debug' || '') || '', github.event_name == 'workflow_dispatch' && format('--limit={}', inputs.limit) || '') }}. The template is not valid. .github/workflows/redmine-upkeep.yml (Line: 54, Col: 14): The following format string is invalid: --limit={}
    Error: The template is not valid. .github/workflows/redmine-upkeep.yml (Line: 54, Col: 14): The following format string is invalid: --limit={}

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
.github/workflows/redmine-upkeep.yml

index 49d3cabc7dbdddebfefb55119aa407c0ebbf6740..43adaede70e9e3cbaac1a907a885476a265050b6 100644 (file)
@@ -56,6 +56,6 @@ jobs:
              --github-action
              --git-dir=./ceph/
              ${{ github.event_name == 'workflow_dispatch' && (inputs.debug && '--debug' || '') || '' }}
-             ${{ github.event_name == 'workflow_dispatch' && format('--limit={}', inputs.limit) || '' }}
+             ${{ github.event_name == 'workflow_dispatch' && format('--limit={0}', inputs.limit) || '' }}
         env:
           REDMINE_API_KEY: ${{ secrets.REDMINE_API_KEY_BACKPORT_BOT }}