diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0d7dcf0..c13b598 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,5 +4,5 @@ updates: - package-ecosystem: github-actions directory: '/' schedule: - interval: daily + interval: weekly time: '00:00' diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 67a5624..228b5a6 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -74,8 +74,9 @@ jobs: - name: Clone repository - uses: actions/checkout@v2.3.4 - - name: Set correct permissions - run: chmod +x delete_workflows.sh + # 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 🗑 @@ -102,8 +103,9 @@ jobs: - name: Clone repository - uses: actions/checkout@v2.3.4 - - name: Set correct permissions - run: chmod +x delete_ghcr_dangling_images.sh + # 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 🗑