Skip to content

Update README.md for the stash action#216

Merged
assignUser merged 3 commits intoapache:mainfrom
d-sahlberg:main
Jul 6, 2025
Merged

Update README.md for the stash action#216
assignUser merged 3 commits intoapache:mainfrom
d-sahlberg:main

Conversation

@d-sahlberg
Copy link
Contributor

Add the apache/ prefix in uses so GHA find the action in the apache organisation. Change the used ref to @main, since there is no @v1 branch.

It took me, as a new user, a couple of tries to get it right. This changes should hopefully make it easier for new users.

Add the apache/ prefix in uses so GHA find the action in the apache organisation.
Change the used ref to @main, since there is no @v1 branch.

Signed-off-by: Daniel Sahlberg <76568858+dsahlberg-apache-org@users.noreply.github.com>
stash/README.md Outdated
steps:
- uses: actions/checkout@v2
- uses: infrastructure-actions/stash/restore@v1
- uses: apache/infrastructure-actions/stash/restore@main
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a good idea to mention a commit hash - this is really the only way we should be using actions (and zizmor action and "CodeQL` security check will flag both tag an branch usage.

I think it would be better to follow this in the example.

d-sahlberg and others added 2 commits July 6, 2025 21:45
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Signed-off-by: Daniel Sahlberg <76568858+dsahlberg-apache-org@users.noreply.github.com>
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Copy link
Member

@assignUser assignUser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the inconvenience and thanks for the PR! Hope the action works well for you!

@assignUser assignUser merged commit 70395ac into apache:main Jul 6, 2025
13 checks passed
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.

3 participants