Loading tutorials
uses: line in a workflow tells GitHub which code to download and run. This chapter covers the parts of that line, the kinds of targets it can name, and what the part after @ actually identifies. Later chapters build on this when they pin references and enforce pinning.6 min readuses:). It also assumes you know that a Git tag is a name for a commit and that a branch is a name that moves forward as commits are added. By the end you should be able to explain how a changed tag becomes code execution in7 min readuses:) and know what a Git commit, tag, and branch are. It also assumes you know that a ref like v4 is a semantic version tag. The previous chapter showed that tags and branches can be moved. This chapter shows how to remo6 min readuses: line does. It also assumes you know the difference between a commit, a tag, and a branch, and that you have git installed. The gh examples need the GitHub CLI, signed in with gh auth login.6 min readuses: does. It also assumes you have seen a full-length commit SHA pin (covered earlier in this tutorial) and have admin access to a repository or organization to try the settings. Pinning by convention depends on every cont7 min readuses: step is. It also assumes you have already pinned an action to a full-length commit SHA, as in the earlier chapters. You should be comfortable with Git tags and commits.6 min readuses: does. It also assumes you know that a Git tag is a movable label and a commit SHA is a fixed identifier. You should have met a lockfile such as package-lock.json or poetry.lock. Earlier chapters showed how to pin d6 min readuses: reference resolves to a commit and why a top-level SHA pin leaves nested actions unpinned. You should also be comfortable reading a `git dif6 min readgit ls-remote lists tags. It builds on the earlier chapters on pinning and on resolving the SHA behind a tag.7 min readuses: references for actions to full-length commit SHAs. Here the same idea is applied to two other kinds of refere6 min readuses: reference is. It also assumes you know how tags and commits relate in Git, and that you have seen SHA pinning, Dependabot updates, and the idea of a lockfile in earlier chapters. Here you combine those pieces into a 7 min read