Comments (8)
I still think it might help other users if this was briefly mentioned that by default, the action checks out $GITHUB_SHA
in the docs: https://help.github.com/en/articles/configuring-a-workflow#using-the-checkout-action
Might also benefit from a link to what $GITHUB_SHA
is for different events.
from checkout.
by default, checkout will run git fetch
and git checkout $GITHUB_SHA
the ref
input is for what ref to checkout, so you can do ref: refs/heads/master
, ref: SHA
or ref: tag
from checkout.
i will find someone on the doc team for this. :)
from checkout.
sounds like this is fixed now
from checkout.
thanks! Sorry, GITHUB_SHA
is what I meant, not GITHUB_REF
.
Whom can I poke to maybe clarify that in the docs? Am I the only one for whom that wasn't obvious?
from checkout.
I've added a PR to amend the README.md
accordingly: #10
from checkout.
This should be closed now? 😁
from checkout.
The link for what $GITHUB_SHA is now in the top-level readme file.
from checkout.
Related Issues (20)
- Exit code 100 when attempting to install composer dep
- Checkout wont create a .git folder, causing issues with Sonar scanning
- Bifurcar y editar en GitHub
- Mozilla
- Demo
- Api
- Summary
- Issue specific to v4 action behind proxy when using a token
- https://github.com/AppImage/AppImageKit/wiki/FUSE
- checkout@v3 using node20 instead of node16 HOT 38
- Neuronal
- Started getting URL using bad/illegal format or missing URL HOT 1
- Checkout Path outside $GITHUB_WORKSPACE
- Unable to git checkout to specific branch in git submodule
- Unable to clone my other private repo's which i own from my private repository in github actions workflow
- Lack of support for GITHUB_SERVER_URL with subpath
- Infinite loop when git push
- PAT based access to different account not working in github actions
- inadequate documentation on "filter" option
- Error relocating /__e/node20_alpine/bin/node: secure_getenv: symbol not found
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.