snapcrafters / signal-desktop

Unofficial Signal Desktop installer for Linux
https://snapcraft.io/signal-desktop
GNU Affero General Public License v3.0
35 stars 14 forks source link

ci: only bump parts if signal-desktop version changes #190

Closed jnsgruk closed 1 year ago

jnsgruk commented 1 year ago

This change introduces a guard on the logic that bumps the dependency versions, currently bought in as parts.

The change adds an if statement to check if there are any changes after we try to manipulate the snapcraft.yaml version to match the upstream. If there are changes in the tree, we also look to update the parts, otherwise we just move on.

jnsgruk commented 1 year ago

Added a commit containing a dependabot config which will automatically open PRs to update Github Actions versions as they're released. Runs monthly to avoid too much noise.

merlijn-sebrechts commented 1 year ago

@jnsgruk FYI: there is another issue with the sync workflow: https://github.com/snapcrafters/signal-desktop/actions/runs/6862080984/job/18659079136

jnsgruk commented 1 year ago

Okay so I've fixed that other linked issue by adding a line that removes the package.json once it's been used.