Skip to content
Discussion options

You must be logged in to vote

I did some more digging and eventually found this issue from a couple years ago...

actions/checkout#439

There were lots of options and suggestions, but the one that worked for me was simply forcing the ref with ref: main.

So now the checkout action in the Jekyll build workflow looks like this:

- name: Checkout
  uses: actions/checkout@v4
  with:
    ref: main

It grabs the lates commit every time now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eliduke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage
1 participant