Skip to content

Commit 34caf23

Browse files
Copilotcrenshaw-dev
andcommitted
fix: open cleanup issue after backfill workflow runs
Co-authored-by: crenshaw-dev <350466+crenshaw-dev@users.noreply.github.com>
1 parent 0e20602 commit 34caf23

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/backfill-index.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
permissions:
77
contents: write
8+
issues: write
89

910
jobs:
1011
backfill-index:
@@ -32,3 +33,18 @@ jobs:
3233
git diff --cached --quiet && echo "No changes needed" && exit 0
3334
git commit -m "fix: regenerate index.yaml with correct chart URLs"
3435
git push origin gh-pages
36+
37+
- name: Open cleanup issue
38+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
39+
with:
40+
script: |
41+
await github.rest.issues.create({
42+
owner: context.repo.owner,
43+
repo: context.repo.repo,
44+
title: 'chore: remove one-time backfill-index workflow',
45+
body: [
46+
'The `backfill-index.yaml` workflow was a one-time cleanup to fix broken `docs/`-prefixed URLs in `index.yaml`.',
47+
'It has been run successfully. The file `.github/workflows/backfill-index.yaml` should now be deleted.',
48+
].join('\n\n'),
49+
labels: ['chore'],
50+
});

0 commit comments

Comments
 (0)