Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(memfault): add gh action to pull in latest memfault (#32)
### Summary To exercise the latest changes in the Memfault SDK, the Memfault bot will now open a PR for us when there is a new SDK release. We'll check daily for a new version with this new GH action. The `delete-branch` setting on the create PR step means that if the SDK version ended up getting updated on `main` after the bot opened a PR for it, it will delete the branch on the next run of the action since it isn't needed, closing the PR in the process. ### Test Plan - Test action when SDK version is out of date ``` gh workflow run update-memfault.yaml --ref gminn/action-to-get-memfault-latest ``` Resulting PR [here](#37) and action results [here](https://github.com/memfault/memfault-asset-tracker/actions/runs/8176412583/job/22355738374)! - Test action when SDK version is not out of date Created a branch off this branch with the new action and the SDK updated to 1.7.1. ``` gh workflow run update-memfault.yaml --ref gminn/test-up-to-date-sdk-ver ``` Action results [here](https://github.com/memfault/memfault-asset-tracker/actions/runs/8176427061/job/22355788792) showing the skipped steps. - Test action when a PR is currently open for the SDK version change Action results [here](https://github.com/memfault/memfault-asset-tracker/actions/runs/8176438022/job/22355830130#step:6:943). It finds that a PR already exists and attempts to update it but nothing has changed.
- Loading branch information