Skip to content

Commit 47182d3

Browse files
committed
Ensure we have enough disk space to pull images
1 parent a9885e4 commit 47182d3

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.github/workflows/pull_request_review.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: pull_request_review test
1+
name: Test pull_request_review event
22

33
on:
44
- pull_request_review
55

6-
permissions:
7-
contents: read
8-
96
jobs:
107
apply:
118
runs-on: ubuntu-24.04
129
name: Apply approved changes on pull_request_review
10+
permissions:
11+
contents: read
12+
pull-requests: write
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
steps:

.github/workflows/pull_request_target.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pull_request_target test
1+
name: Test pull_request_target event
22

33
on:
44
- pull_request_target

.github/workflows/repository_dispatch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Respository Dispatch
1+
name: Repository Dispatch
22

33
on: [repository_dispatch]
44

.github/workflows/retain-images.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Retain images
33
on:
44
schedule:
55
- cron: 0 0 1 * *
6+
push:
7+
paths:
8+
- .github/workflows/retain-images.yaml
69

710
permissions:
811
contents: read
@@ -22,4 +25,5 @@ jobs:
2225
run: |
2326
for tag in $(git tag); do
2427
docker pull --quiet danielflook/terraform-github-actions:$tag
28+
docker system prune --all --force
2529
done

0 commit comments

Comments
 (0)