GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pin deploy workflow actions to commit SHAs by imorland · Pull Request #579 · flarum/docs

Conversation

@imorland

@imorland imorland commented Aug 23, 2026

Copy link
Copy Markdown
Member

Brings the deploy workflow in line with flarum/framework and flarum/installation-packages, which pin third-party actions to full commit SHAs with the version as a trailing comment.

This also clears the deprecation warning on recent deploy runs — checkout@v4 and setup-node@v4 target Node 20 and were being force-run on Node 24.

Action Before After
actions/checkout @v4 3d3c42e # v7.0.1
actions/setup-node @v4 8207627 # v7.0.0
appleboy/scp-action @v1 ff85246 # v1.0.0

The two actions/* SHAs are the exact ones already used across flarum/framework, so the pins stay consistent org-wide. Both are also the current latest release.

Notes

  • scp-action is unchanged functionally — v1 and v1.0.0 both already point at ff85246, so this only removes the mutable-tag risk. It's a composite action, so it was never part of the Node 20 deprecation.
  • cache: 'yarn' still works. setup-node@v6 limited automatic caching to npm (#1374), but explicit cache input is still fully supported for yarn and pnpm — worth knowing, since this is the one change across v5→v7 that could plausibly have bitten us.
  • No other v5→v7 change affects this workflow. checkout@v7's fork-PR restriction applies only to pull_request_target/workflow_run (this triggers on push/workflow_dispatch), and the v5 minimum runner version is satisfied by ubuntu-latest.

Verified each SHA resolves to its claimed tag via the GitHub API, and actionlint passes clean.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@imorland
Pin deploy workflow actions to commit SHAs
98bf9e9
@imorland
imorland merged commit 911900c into main Aug 23, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@imorland
imorland deleted the im/pin-workflow-actions branch August 23, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@imorland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.