Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ jobs:
title: ${{ steps.update.outputs.pr-title }}
body-path: ${{ steps.update.outputs.pr-body-path }}

- if: steps.update.outputs.has-changes == 'true' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
name: Trigger CI
shell: pwsh
run: >
gh workflow run Main --ref $env:BRANCH_NAME &&
gh workflow run Release --ref $env:BRANCH_NAME
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: ${{ steps.update.outputs.branch-name }}

powershell-modules:
permissions:
contents: write
Expand All @@ -61,3 +71,13 @@ jobs:
commit-message: ${{ steps.update.outputs.commit-message }}
title: ${{ steps.update.outputs.pr-title }}
body-path: ${{ steps.update.outputs.pr-body-path }}

- if: steps.update.outputs.has-changes == 'true' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
name: Trigger CI
shell: pwsh
run: >
gh workflow run Main --ref $env:BRANCH_NAME &&
gh workflow run Release --ref $env:BRANCH_NAME
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: ${{ steps.update.outputs.branch-name }}
3 changes: 1 addition & 2 deletions intellij-updater.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
"field": "intellijPreview",
"kind": "intellij-idea-community",
"versionFlavor": "eap"
}],
"prBodyPrefix": "## Maintainer Note\n> [!WARNING]\n> This PR will not trigger CI by default. Please **close it and reopen manually** to trigger the CI.\n>\n> Unfortunately, this is a consequence of the current GitHub Action security model (by default, PRs created automatically aren't allowed to trigger other automation)."
}]
}
7 changes: 0 additions & 7 deletions src/scripts/Update-Dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,6 @@ if ($hasChanges)
"@
}
$prBody = @'
## Maintainer Note
> [!WARNING]
> This PR will not trigger CI by default. Please close it and reopen manually to trigger the CI.
>
> Unfortunately, this is a consequence of the current GitHub Action security model (by default, PRs created by bots
> aren't allowed to trigger other bots).

The updated packages' release notes follow below.

'@ + $updateReleaseNoteStrings -join "`n"
Expand Down
Loading