Skip to content

Commit df88383

Browse files
sgilmore10kou
andauthored
GH-49611: [MATLAB] MATLAB workflow failing due to action permission error (#49650)
### Rationale for this change The MATLAB workflow began (silently) failing on March 20th with this startup error: > The actions matlab-actions/setup-matlab@ v2 and matlab-actions/run-tests@ v2 are not allowed in apache/arrow because all actions must be from a repository owned by your enterprise, created by GitHub, or match one of the patterns: ... The MATLAB workflows began failing in CI because it depends on two actions, `matlab-actions/setup-matlab` and `matlab-actions/run-tests`, that, prior to yesterday, were not included in [apache/infrastructure-actions](https://github.com/apache/infrastructure-actions) "action" allow list. Both `matlab-actions/setup-matlab` and `matlab-actions/run-tests` are now included in the action allow list. See [PR#6423](apache/infrastructure-actions#643) and [PR#644](apache/infrastructure-actions#644) for details. ### Component(s) MATLAB, Continuous Integration ### What changes are included in this PR? 1. Pinned `matlab-actions/setup-matlab` to version `v2.7.0`, specified by git hash `aa8bbc7b76daa63c5d456d1430cbd6cb5b626ab4`. 2. Pinned `matlab-actions/run-tests` to version `v2.3.1`, specified by git hash `4a3d2e8bdc811f72defb8122e46a009312acc198`. ### Are these changes tested? N/A ### Are there any user-facing changes? No. * GitHub Issue: #49611 Lead-authored-by: Sarah Gilmore <sgilmore@mathworks.com> Co-authored-by: Sarah Gilmore <74676073+sgilmore10@users.noreply.github.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sarah Gilmore <sgilmore@mathworks.com>
1 parent ddc4229 commit df88383

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/matlab.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Install ninja-build
5858
run: sudo apt-get install ninja-build
5959
- name: Install MATLAB
60-
uses: matlab-actions/setup-matlab@v2
60+
uses: matlab-actions/setup-matlab@aa8bbc7b76daa63c5d456d1430cbd6cb5b626ab4 # v2.7.0
6161
with:
6262
release: R2025b
6363
- name: Install ccache
@@ -82,7 +82,7 @@ jobs:
8282
# Add the installation directory to the MATLAB Search Path by
8383
# setting the MATLABPATH environment variable.
8484
MATLABPATH: matlab/install/arrow_matlab
85-
uses: matlab-actions/run-tests@v2
85+
uses: matlab-actions/run-tests@4a3d2e8bdc811f72defb8122e46a009312acc198 # v2.3.1
8686
with:
8787
select-by-folder: matlab/test
8888
strict: true
@@ -105,7 +105,7 @@ jobs:
105105
- name: Install ninja-build
106106
run: brew install ninja
107107
- name: Install MATLAB
108-
uses: matlab-actions/setup-matlab@v2
108+
uses: matlab-actions/setup-matlab@aa8bbc7b76daa63c5d456d1430cbd6cb5b626ab4 # v2.7.0
109109
with:
110110
release: R2025b
111111
- name: Install ccache
@@ -130,7 +130,7 @@ jobs:
130130
# Add the installation directory to the MATLAB Search Path by
131131
# setting the MATLABPATH environment variable.
132132
MATLABPATH: matlab/install/arrow_matlab
133-
uses: matlab-actions/run-tests@v2
133+
uses: matlab-actions/run-tests@4a3d2e8bdc811f72defb8122e46a009312acc198 # v2.3.1
134134
with:
135135
select-by-folder: matlab/test
136136
strict: true
@@ -144,7 +144,7 @@ jobs:
144144
with:
145145
fetch-depth: 0
146146
- name: Install MATLAB
147-
uses: matlab-actions/setup-matlab@v2
147+
uses: matlab-actions/setup-matlab@aa8bbc7b76daa63c5d456d1430cbd6cb5b626ab4 # v2.7.0
148148
with:
149149
release: R2025b
150150
- name: Install ccache
@@ -174,7 +174,7 @@ jobs:
174174
# Add the installation directory to the MATLAB Search Path by
175175
# setting the MATLABPATH environment variable.
176176
MATLABPATH: matlab/install/arrow_matlab
177-
uses: matlab-actions/run-tests@v2
177+
uses: matlab-actions/run-tests@4a3d2e8bdc811f72defb8122e46a009312acc198 # v2.3.1
178178
with:
179179
select-by-folder: matlab/test
180180
strict: true

0 commit comments

Comments
 (0)