Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Commit *.sh files as executables so chmod is not necessary at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Nov 1, 2021
1 parent 100f053 commit 10aa970
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,9 @@ jobs:
- name: Clone repository
uses: actions/checkout@v2.3.4

# The 'echo' command masks the environment variable
- name: Prepare environment
run: chmod +x delete_workflows.sh && echo "::add-mask::${GITHUB_TOKEN}"
working-directory: ./maintenance

- name: Run deletion script 🗑
run: ./delete_workflows.sh ${{ matrix.repo }}
working-directory: ./maintenance
working-directory: ./.github/workflows/maintenance
env:
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}

Expand All @@ -103,13 +98,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v2.3.4

# The 'echo' command masks the environment variable
- name: Prepare environment
run: chmod +x delete_ghcr_dangling_images.sh && echo "::add-mask::${GITHUB_TOKEN}"
working-directory: ./maintenance

- name: Run deletion script 🗑
run: ./delete_ghcr_dangling_images.sh ${{ matrix.container }}
working-directory: ./maintenance
working-directory: ./.github/workflows/maintenance
env:
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
Empty file modified .github/workflows/maintenance/delete_ghcr_dangling_images.sh
100644 → 100755
Empty file.
Empty file modified .github/workflows/maintenance/delete_workflows.sh
100644 → 100755
Empty file.

0 comments on commit 10aa970

Please sign in to comment.