Skip to content

Commit

Permalink
Show how to retrieve hashes via command line
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislomaxjones committed Mar 20, 2024
1 parent 0c6568e commit 237016f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ You can find the SHA for a particular release by navigating to the Releases page

![image](finding-gha-release-sha.png)

Alternatively, they can be obtained via the command line. For example:

```bash
git ls-remote --tags https://github.com/actions/checkout | sort -Vr -k2
```

## Keep actions up to date with Dependabot

Use Dependabot to keep all actions up to date. See [Keeping your actions up to date with Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot).

0 comments on commit 237016f

Please sign in to comment.