Skip to content

Commit 3e92ae4

Browse files
committed
refactor: move scripts permissions check to dedicated CI workflow
Move the scripts-permissions job from github-actions-workflows.yml to a new continuous-integration.yml workflow, following the same pattern as the rust template. This better organizes CI checks into their own dedicated workflow.
1 parent 3c10e52 commit 3e92ae4

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Continuous Integration (CI)
2+
3+
on: pull_request
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
scripts-permissions:
10+
name: Scripts Permissions
11+
runs-on: ${{ matrix.architecture }}
12+
strategy:
13+
matrix:
14+
architecture: [ubuntu-24.04, ubuntu-24.04-arm]
15+
steps:
16+
- name: Checkout code.
17+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
18+
- name: Check scripts permissions.
19+
run: make check-scripts-permissions

‎.github/workflows/github-actions-workflows.yml‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,3 @@ jobs:
3333
uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
3434
- name: Check GitHub Actions workflows linting.
3535
run: nix develop -c make check-github-actions-workflows-linting
36-
37-
scripts-permissions:
38-
name: Scripts Permissions
39-
runs-on: ${{ matrix.architecture }}
40-
strategy:
41-
matrix:
42-
architecture: [ubuntu-24.04, ubuntu-24.04-arm]
43-
steps:
44-
- name: Checkout code.
45-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
46-
- name: Check scripts permissions.
47-
run: make check-scripts-permissions

0 commit comments

Comments
 (0)