Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit 10aa970

Browse files
committed
Commit *.sh files as executables so chmod is not necessary at runtime
1 parent 100f053 commit 10aa970

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

.github/workflows/maintenance.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,9 @@ jobs:
7474
- name: Clone repository
7575
uses: actions/[email protected]
7676

77-
# The 'echo' command masks the environment variable
78-
- name: Prepare environment
79-
run: chmod +x delete_workflows.sh && echo "::add-mask::${GITHUB_TOKEN}"
80-
working-directory: ./maintenance
81-
8277
- name: Run deletion script 🗑
8378
run: ./delete_workflows.sh ${{ matrix.repo }}
84-
working-directory: ./maintenance
79+
working-directory: ./.github/workflows/maintenance
8580
env:
8681
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
8782

@@ -103,13 +98,8 @@ jobs:
10398
- name: Clone repository
10499
uses: actions/[email protected]
105100

106-
# The 'echo' command masks the environment variable
107-
- name: Prepare environment
108-
run: chmod +x delete_ghcr_dangling_images.sh && echo "::add-mask::${GITHUB_TOKEN}"
109-
working-directory: ./maintenance
110-
111101
- name: Run deletion script 🗑
112102
run: ./delete_ghcr_dangling_images.sh ${{ matrix.container }}
113-
working-directory: ./maintenance
103+
working-directory: ./.github/workflows/maintenance
114104
env:
115105
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}

.github/workflows/maintenance/delete_ghcr_dangling_images.sh

100644100755
File mode changed.

.github/workflows/maintenance/delete_workflows.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)