Commit 1dbb360
ci: Replace ad-m/github-push-action@master with native git push
The plugin-SDK auto-bump workflow used ad-m/github-push-action pinned
to the upstream master branch. That is a textbook CWE-829: a
supply-chain compromise of the action's master would inject arbitrary
shell into every Ethereum-plugin auto-PR run, with write access to
every LedgerHQ/app-plugin-* repository through the CI bot token.
Pinning to a SHA would reduce but not remove that risk. Instead,
replace the action with the same `git remote set-url` + `git push`
pattern already used by ledger-app-workflows'
_open_pr_with_new_snapshots.yml. The push step now runs only the
shell visible in this file and uses the same CI_BOT_TOKEN as
before.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent e59e5c9 commit 1dbb360
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
0 commit comments