You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-48326: [CI] Stop specifying hash for actions/* GitHub Actions (#48327)
### Rationale for this change
Dependabot sometimes failed to update hash.
For example: #48301
The ASF GitHub Actions policy doesn't requiring pinning `actions/*` actions:
https://infra.apache.org/github-actions-policy.html
> External actions
>
> You MAY use all actions internal to the `apache/*`, `github/*` and `actions/*` namespaces without restrictions.
>
> You MUST pin all external actions to the specific git hash (SHA1) of the action that has been reviewed for use by the project. For instance, you MUST pin `foobar/baz-action@ 8843d7f92416211de9ebb963ff4ce28125932878`.
We can avoid the Dependabot behavior by removing hash from `actions/*` actions.
### What changes are included in this PR?
* Remove hash from `actions/*` actions.
* Use `@ vX` instead of `@ vX.Y.Z` to reduce Dependabot updates.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #48326
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
0 commit comments