Commit 77578c4
authored
ci(fix): avoid duplicate release authentication (#408)
This pull request updates workflow configuration files to improve
security and keep dependencies up to date. The main changes are
upgrading the `peter-evans/create-pull-request` GitHub Action to the
latest major version and disabling credential persistence during
repository checkout steps.
**GitHub Actions improvements:**
* Upgraded `peter-evans/create-pull-request` from version 6 to version 8
in both `.github/workflows/prepare-release.yml` and
`.github/workflows/promote-clean-semver.yml` to ensure the latest
features and security updates are used.
[[1]](diffhunk://#diff-ddf2bab74923dcd43f9f8d05e50bb1adc9ee5366a394d151d1f04a54a6079486L105-R106)
[[2]](diffhunk://#diff-565eb0e1b0e3b91e82f7cf1ee64348f5102387ff136a8241b0d479198c6e8aa4L191-R192)
* Set `persist-credentials: false` in all `actions/checkout` steps to
prevent GitHub Actions from persisting repository credentials, which
improves workflow security.
[[1]](diffhunk://#diff-ddf2bab74923dcd43f9f8d05e50bb1adc9ee5366a394d151d1f04a54a6079486R63)
[[2]](diffhunk://#diff-565eb0e1b0e3b91e82f7cf1ee64348f5102387ff136a8241b0d479198c6e8aa4R37)1 parent 590dd2a commit 77578c4
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
191 | | - | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
0 commit comments