-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
Description
Description
Using gitea 1.24.6, I have the below workflow file.
name: Scheduled Assets Journal
on:
schedule:
- cron: '0 9 * * *'
workflow_dispatch:
jobs:
trigger:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
fail-fast: false
matrix:
config:
- { stock_code: '00291', market: 'HK', investingdotcom_index_symbols: '[]' }
- { stock_code: '09922', market: 'HK', investingdotcom_index_symbols: '[]' }
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: develop
- name: Run Single Assets Journal Action
uses: ./.gitea/actions/run_single_assets_journal
with:
stock_code: ${{ matrix.config.stock_code }}
market: ${{ matrix.config.market }}
investingdotcom_index_symbols: ${{ matrix.config.investingdotcom_index_symbols }}
I want the the steps to run sequentially while using matrix syntax.
However, they are running in parallel. So it looks like that the trigger.strategy.max-parallel
configuration is not working.

Gitea Version
1.24.6
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I am self-hosting gitea with act-runner
Database
PostgreSQL