-
-
Notifications
You must be signed in to change notification settings - Fork 39
Add monthly GitHub Action to update Joplin plugin framework (#82) #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
nishantwrp
merged 3 commits into
joplin:master
from
Aaravanand00:automate-monthly-framework-updates
Mar 2, 2026
+59
−0
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
e816424
Add GitHub Action for monthly plugin framework updates (#82)
Aaravanand00 72bd522
Improve framework update workflow: add change detection, remove force…
Aaravanand00 dd717d2
refactor: clean up framework update workflow and add branch randomiza…
Aaravanand00 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| name: Update Joplin Plugin Framework | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 0 1 * *' | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| update-framework: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 18 | ||
|
|
||
| - name: Install generator-joplin globally | ||
| run: npm install -g generator-joplin yo | ||
|
|
||
| - name: Run framework update | ||
| run: yo joplin --update | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install --legacy-peer-deps | ||
|
|
||
| - name: Check for changes | ||
| id: changes | ||
| run: | | ||
| if git diff --quiet; then | ||
| echo "has_changes=false" >> $GITHUB_OUTPUT | ||
| else | ||
| echo "has_changes=true" >> $GITHUB_OUTPUT | ||
| fi | ||
|
|
||
| - name: Create Pull Request | ||
| if: steps.changes.outputs.has_changes == 'true' | ||
| uses: peter-evans/create-pull-request@v6 | ||
| with: | ||
| commit-message: 'chore: monthly joplin plugin framework update' | ||
| title: 'chore: update joplin plugin framework (automated)' | ||
| body: | | ||
| This is an automated pull request to update the Joplin plugin framework. | ||
|
|
||
| Please review the changes and ensure: | ||
| - All tests pass | ||
| - Build succeeds | ||
| - No breaking changes introduced | ||
| branch: chore/update-plugin-framework | ||
|
Aaravanand00 marked this conversation as resolved.
|
||
| branch-suffix: timestamp | ||
| delete-branch: true | ||
| labels: dependencies, automated | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.