From 151c90b2a9a7a82e47021db19791eb07a23ffe16 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 9 Sep 2025 05:23:55 +0000 Subject: [PATCH] chore: call the release notes assistant when opening a new pull request (#964) When a new pull request is opened and has no labels, the release notes assistant will not be called and it will look like the event was missed. Most of the time the label will be set when the pull request is open and that will fire two runs. However, the release notes assistant is idempotent and that will just make one extra run in the CI that is a noop. - other - [PR](https://code.forgejo.org/forgejo/runner/pulls/964): chore: call the release notes assistant when opening a new pull request Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/964 Reviewed-by: Gusted Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- .forgejo/workflows/release-notes-assistant.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.forgejo/workflows/release-notes-assistant.yml b/.forgejo/workflows/release-notes-assistant.yml index 48313fde..27112b2e 100644 --- a/.forgejo/workflows/release-notes-assistant.yml +++ b/.forgejo/workflows/release-notes-assistant.yml @@ -6,6 +6,7 @@ name: issue-labels on: pull_request_target: types: + - opened - edited - synchronize - labeled @@ -14,14 +15,6 @@ env: RNA_VERSION: v1.4.0 # renovate: datasource=forgejo-releases depName=forgejo/release-notes-assistant registryUrl=https://code.forgejo.org jobs: - debug: - runs-on: docker - steps: - - name: event - run: | - cat <<'EOF' - ${{ toJSON(forge) }} - EOF release-notes: if: vars.ROLE == 'forgejo-coding' && !contains(forge.event.pull_request.labels.*.name, 'Kind/DependencyUpdate') runs-on: docker