Skip to content
Merged
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
13 changes: 12 additions & 1 deletion .github/workflows/update-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ jobs:
if: steps.changes.outputs.has_changes == 'true'
uses: peter-evans/create-pull-request@v6
with:
# Without an explicit token this falls back to GITHUB_TOKEN, and
# GitHub suppresses workflow triggers for events raised by that
# token to avoid recursion. The result is a PR with zero check runs,
# which nobody can review with any confidence. Set
# FRAMEWORK_UPDATE_TOKEN to a PAT (or app token) with `repo` scope to
# get CI on these PRs. If it is unset, this degrades to the previous
# behaviour rather than failing the run.
token: ${{ secrets.FRAMEWORK_UPDATE_TOKEN || github.token }}
commit-message: 'chore: routine joplin plugin framework update'
title: 'chore: routine joplin plugin framework update'
body: |
Expand All @@ -58,8 +66,11 @@ jobs:
```json
${{ steps.new-tsconfig-json.outputs.content }}
```
# No branch-suffix: a fixed branch name makes the action update the
# existing open PR in place each month. With a timestamp suffix every
# run got its own branch and opened a fresh PR, so #168, #170 and #172
# ended up as three byte-identical PRs for a diff that had not moved.
branch: chore/update-plugin-framework
branch-suffix: timestamp
committer: Albus <bot@nishantwrp.com>
author: Albus <bot@nishantwrp.com>
delete-branch: true
Loading