diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml index 3c302f74..09cf8c9d 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -24,7 +24,7 @@ body: label: Version description: What version are you using? options: - - 'v3.3.0' # selfup {"extract":"v\\d[^']+","replacer":["bash","-c","git tag --list 'v3.*' | tail -1"]} + - 'v3.4.0' # selfup {"extract":"v\\d[^']+","replacer":["bash","-c","git tag --list 'v3.*' | tail -1"]} - 'v2.0.4' # selfup {"extract":"v\\d[^']+","replacer":["bash","-c","git tag --list 'v2.*' | tail -1"]} - 'v1.3.0' # selfup {"extract":"v\\d[^']+","replacer":["bash","-c","git tag --list 'v1.*' | tail -1"]} - other diff --git a/CHANGELOG.md b/CHANGELOG.md index 4151dbb3..c03af719 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,9 @@ This file only records notable changes. Not synchronized with all releases and tags. - main - not yet released - - Add `jobMatchMode` option for both wait and skip list - - Add `dump` outputs +- v3.4.0 + - Add `jobMatchMode` option for both the wait and skip lists. It typically helps to use matrix: [#761](https://github.com/kachick/wait-other-jobs/issues/761) + - Add `outputs.dump` - v3.3.0 - Add `startupGracePeriod` option in wait-list: [#820](https://github.com/kachick/wait-other-jobs/issues/820) - Restrict `wait-seconds-before-first-polling` if it is too short as zero or shorter than `startupGracePeriod` diff --git a/README.md b/README.md index 07cfa96d..d969c98b 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ jobs: # actions: read runs-on: ubuntu-24.04 steps: - - uses: kachick/wait-other-jobs@v3.3.0 + - uses: kachick/wait-other-jobs@v3.4.0 timeout-minutes: 15 # Recommended to be enabled with your appropriate value for fail-safe use ``` @@ -92,8 +92,6 @@ permissions: ## outputs. -(Since v3.4.0) - - `dump`\ A file path for collected resources which keeps fields than logged.\ This data is only provided for debugging purposes, so the schema is not defined. @@ -128,8 +126,12 @@ jobs: timeout-minutes: 15 ``` -Similar problems should be considered in matrix use.\ -Since v3.4.0, you can set `prefix` for `jobMatchMode` to make small list. +Similar problems should be considered in matrix use. Because of GitHub does not provide the context. + +- https://github.com/orgs/community/discussions/8945 +- https://github.com/orgs/community/discussions/16614 + +However you can set `prefix` for `jobMatchMode` to create small skip-list to avoid this problem. ```yaml jobs: diff --git a/docs/examples.md b/docs/examples.md index 8804bb8d..27bca0e2 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -32,7 +32,7 @@ jobs: uses: dependabot/fetch-metadata@0fb21704c18a42ce5aa8d720ea4b912f5e6babef # v2.0.0 - name: Wait other jobs if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}} - uses: kachick/wait-other-jobs@v3.3.0 + uses: kachick/wait-other-jobs@v3.4.0 timeout-minutes: 10 with: skip-same-workflow: 'true' @@ -48,7 +48,7 @@ jobs: if: ${{ github.actor == 'renovate[bot]' }} steps: - name: Wait other jobs - uses: kachick/wait-other-jobs@v3.3.0 + uses: kachick/wait-other-jobs@v3.4.0 timeout-minutes: 10 with: skip-same-workflow: 'true'