Skip to content

Commit

Permalink
Update clean-workflows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch authored Dec 9, 2024
1 parent 7f35548 commit 8819896
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/clean-workflows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# .github/workflows/cleanup-workflows.yml
# .github/workflows/clean-workflows.yml
#
# Copyright 2021 Ching Chow, Jens A. Koch.
# SPDX-License-Identifier: BSL-1.0
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
}
}
# https://api.github.com/repos/jakoch/cpp-devbox/actions/workflows/cleanup-workflows.yml/runs
# https://api.github.com/repos/jakoch/cpp-devbox/actions/workflows/clean-workflows.yml/runs
- name: ✂ Remove runs of the cleanup workflow itself
uses: actions/github-script@v7 # https://github.com/actions/github-script
with:
Expand All @@ -110,7 +110,7 @@ jobs:
page: page,
per_page: 100,
repo: context.repo.repo,
workflow_id: 'cleanup-workflows.yml'
workflow_id: 'clean-workflows.yml'
});
if (response.data.workflow_runs.length > 0) {
for (const run of response.data.workflow_runs) {
Expand Down

0 comments on commit 8819896

Please sign in to comment.