Skip to content

ci: standardize actions/checkout to v6 in deploy-site workflow - #881

Closed
Dashsoap wants to merge 1 commit into
colbymchenry:mainfrom
Dashsoap:ci/standardize-checkout-v6
Closed

Dashsoap wants to merge 1 commit into
colbymchenry:mainfrom
Dashsoap:ci/standardize-checkout-v6

Conversation

@Dashsoap

Copy link
Copy Markdown

What

Bump actions/checkout@v4 → @v6 in .github/workflows/deploy-site.yml.

Why

The repo runs two different major versions of the same action across its two workflows:

  • .github/workflows/release.yml → actions/checkout@v6 (and actions/setup-node@v6)
  • .github/workflows/deploy-site.yml → actions/checkout@v4

Aligning both on checkout@v6 keeps the CI consistent and on the current major.

       - name: Checkout
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6

Scope: only actions/checkout is bumped. actions/deploy-pages@v4 and withastro/action@v3 are independent action version lines and are intentionally left untouched.

release.yml already uses actions/checkout@v6 (and setup-node@v6), but
deploy-site.yml still pins actions/checkout@v4. Align the two workflows
on checkout@v6 so the repo isn't running two different major versions of
the same action.

Scope: only actions/checkout is bumped. deploy-pages@v4 and
withastro/action@v3 are independent action version lines and are left
untouched.
@colbymchenry

Copy link
Copy Markdown
Owner

Thanks for this, @Dashsoap! #3048 moved the site deploy workflow off the Node 20 action runtime, including this same actions/checkout@v6 change along with withastro/action v6 and actions/deploy-pages v5, and the site has already deployed with it. Closing this as covered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants