Comments (5)
can you try:
steps:
- uses: actions/[email protected]
with:
ref: refs/heads/master
from checkout.
Unless actions work differently now, the official documentation is incorrect here.
https://help.github.com/en/articles/configuring-a-workflow#using-the-checkout-action
The @master
refers to the version of the action, not the branch you want to checkout. It seems that the correct way to specify a branch is as @TingluoHuang suggested.
from checkout.
@peter-evans the doc is wrong, i will file issue for the doc problem.
from checkout.
That did the trick, thanks!
I'll leave this issue open in case you'd like to use it to track the documentation fix.
from checkout.
close this since the doc get a little bit better. still waiting for more improvement
from checkout.
Related Issues (20)
- action/checkout HOT 1
- actions/checkout@v4 does not work on self-hosted ubuntu 22.04 HOT 1
- Tag is fetched but checkout complains for not existing ref HOT 2
- Feat: Configurable retry count/interval
- Actions fails to run on public runner: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: invalid ELF header HOT 2
- Please upgrade to node20, thank you. HOT 2
- Issue with github packages not working as expected HOT 6
- Checkout often fails early on windows at version >=4
- jobs sporadically failing with: "Fail to load actions\checkout\v4\action.yml" HOT 2
- actions/checkout: "Input required and not supplied: token" when specifying a ref as input HOT 1
- @apurvdeodhar
- exec /__e/node20/bin/node: no such file or directory
- Jobs randomly failing with Host key verification failed. HOT 1
- checkout doesn't report anything helpful when the requested reference is missing.
- Recent Update to v4.1.3 Causes LibGit2SharpException with Sparse Checkout HOT 10
- Recent update breaks GitVersion HOT 3
- Version 4.1.3 breaks Sentry auto-detection HOT 4
- Moving the `.gitconfig` file from the runner host into the working directory doesn't follow symlinks
- Recent update to v4.1.4 has incompatibilities with older versions of git HOT 9
- Fails with SyntaxError after recent NPM dependencies update HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkout.