(no title)
dan_manges | 11 months ago
Semver notation rather than branches or tags is a great solution to this problem. Specify the version that want, let the package manager resolve it, and then periodically update all of your packages. It would also improve build stability.
nextts|11 months ago
Use a seperate system for deployments. That system must be hygienic.
This isn't foolproof but would make secrets dumping not too useful. Obviously an attack could still inject crap into your artefact. But you have more time and they need to target you. A general purpose exploit probably won't hurt as much.
mixologic|11 months ago
your build should always use hashes and not version tags of GHA's
cmckn|11 months ago
Terr_|11 months ago
There is some latent concern that most git installations use SHA-1 hashes, as opposed to SHA-256. [0]
Also the trick of creating a branch that happens to be named the same as a revision, which then takes precedence for certain commands.
[0] https://git-scm.com/docs/hash-function-transition
mceachen|11 months ago
werrett|11 months ago
All the tags point to commit `^0e58ed8` https://github.com/tj-actions/changed-files/commit/0e58ed867...
frenchtoast8|11 months ago
jasonthorsness|11 months ago
CaliforniaKarl|11 months ago
eddythompson80|11 months ago
postalrat|11 months ago