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

Commit cf313d3

Browse files
committed
Mask GITHUB_TOKEN env and reduce dependabot frequency
1 parent 15cbef2 commit cf313d3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ updates:
44
- package-ecosystem: github-actions
55
directory: '/'
66
schedule:
7-
interval: daily
7+
interval: weekly
88
time: '00:00'

.github/workflows/maintenance.yml

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

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

8182
- name: Run deletion script 🗑
@@ -102,8 +103,9 @@ jobs:
102103
- name: Clone repository
103104
- uses: actions/[email protected]
104105

105-
- name: Set correct permissions
106-
run: chmod +x delete_ghcr_dangling_images.sh
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}"
107109
working-directory: ./maintenance
108110

109111
- name: Run deletion script 🗑

0 commit comments

Comments
 (0)