This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-erlang.git
The following commit(s) were added to refs/heads/main by this push:
new 3351fc9 chore: Use approved GitHub Actions (#60)
3351fc9 is described below
commit 3351fc909f98a4677521e9f875a4ea12328fab79
Author: Benjamin Philip <[email protected]>
AuthorDate: Mon Jun 29 11:38:16 2026 +0530
chore: Use approved GitHub Actions (#60)
## Which issue does this PR close?
Closes #50.
## Rationale for this change
The ASF has a list of approved GitHub Actions that are allowed to
execute (found
[here](https://github.com/apache/infrastructure-actions/blob/main/approved_patterns.yml)).
Unless all actions in a workflow have been approved, the workflow cannot
run.
## What's Changed
This commit pins certain actions to the approved version so that GitHub
Actions can execute.
---
.github/workflows/docs.yml | 4 ++--
.github/workflows/erlang-ci.yml | 12 ++++++------
.github/workflows/rust-ci.yml | 12 ++++++------
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index fe57f53..cd6291a 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -59,12 +59,12 @@ jobs:
test-native-${{ runner.os }}-${{ env.RUST_TOOLCHAIN_VERSION }}
- name: Install Rust
- uses: dtolnay/rust-toolchain@master
+ uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
# v1
with:
toolchain: "${{ env.RUST_TOOLCHAIN_VERSION }}"
- name: Install Erlang/OTP
- uses: erlef/setup-beam@v1
+ uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 #
v1.24.0
with:
otp-version: 25.1.0
rebar3-version: '3.18.0'
diff --git a/.github/workflows/erlang-ci.yml b/.github/workflows/erlang-ci.yml
index 91180f6..c17f950 100644
--- a/.github/workflows/erlang-ci.yml
+++ b/.github/workflows/erlang-ci.yml
@@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install Erlang/OTP
- uses: erlef/setup-beam@v1
+ uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 #
v1.24.0
with:
otp-version: 25.1.0
rebar3-version: '3.18.0'
@@ -72,12 +72,12 @@ jobs:
test-native-${{ runner.os }}-${{ env.RUST_TOOLCHAIN_VERSION }}
- name: Install Rust
- uses: dtolnay/rust-toolchain@master
+ uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
# v1
with:
toolchain: "${{ env.RUST_TOOLCHAIN_VERSION }}"
- name: Install Erlang/OTP
- uses: erlef/setup-beam@v1
+ uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 #
v1.24.0
with:
otp-version: 25.1.0
rebar3-version: '3.18.0'
@@ -104,7 +104,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install Erlang/OTP
- uses: erlef/setup-beam@v1
+ uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 #
v1.24.0
with:
otp-version: 25.1.0
rebar3-version: '3.18.0'
@@ -143,12 +143,12 @@ jobs:
test-native-${{ runner.os }}-${{ env.RUST_TOOLCHAIN_VERSION }}
- name: Install Rust
- uses: dtolnay/rust-toolchain@master
+ uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
# v1
with:
toolchain: "${{ env.RUST_TOOLCHAIN_VERSION }}"
- name: Install Erlang/OTP
- uses: erlef/setup-beam@v1
+ uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 #
v1.24.0
with:
otp-version: 25.1.0
rebar3-version: '3.18.0'
diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml
index f77279b..1f71f32 100644
--- a/.github/workflows/rust-ci.yml
+++ b/.github/workflows/rust-ci.yml
@@ -39,12 +39,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- - uses: dtolnay/rust-toolchain@master
+ - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
# v1
with:
toolchain: "${{ env.RUST_TOOLCHAIN_VERSION }}"
components: clippy
- - uses: Swatinem/rust-cache@v2
+ - uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 #
v2.9.1
with:
env-vars: "RUST_TOOLCHAIN_VERSION"
workspaces: |
@@ -64,12 +64,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- - uses: dtolnay/rust-toolchain@master
+ - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
# v1
with:
toolchain: "${{ env.RUST_TOOLCHAIN_VERSION }}"
components: rustfmt
- - uses: Swatinem/rust-cache@v2
+ - uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 #
v2.9.1
with:
env-vars: "RUST_TOOLCHAIN_VERSION"
workspaces: |
@@ -89,12 +89,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- - uses: dtolnay/rust-toolchain@master
+ - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
# v1
with:
toolchain: "${{ env.RUST_TOOLCHAIN_VERSION }}"
components: rustfmt
- - uses: Swatinem/rust-cache@v2
+ - uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 #
v2.9.1
with:
env-vars: "RUST_TOOLCHAIN_VERSION"
workspaces: |