Skip to content

Commit 7cc83fb

Browse files
committed
rename action
1 parent 429e547 commit 7cc83fb

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

.github/workflows/example-configurable-prompts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Run AI Spam Guard with All Prompts
23-
uses: github/ai-spam-guard
23+
uses: github/ai-moderator
2424
with:
2525
token: ${{ secrets.GITHUB_TOKEN }}
2626
spam-label: 'spam'
@@ -38,7 +38,7 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v4
4040
- name: Run AI Spam Guard with Selective Prompts
41-
uses: github/ai-spam-guard
41+
uses: github/ai-moderator
4242
with:
4343
token: ${{ secrets.GITHUB_TOKEN }}
4444
spam-label: 'potential-spam'
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- uses: actions/checkout@v4
6262
- name: Run AI Spam Guard - Link Spam Only
63-
uses: github/ai-spam-guard
63+
uses: github/ai-moderator
6464
with:
6565
token: ${{ secrets.GITHUB_TOKEN }}
6666
spam-label: 'link-spam'

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contributing
22

3-
[fork]: https://github.com/actions/ai-spam-guard/fork
4-
[pr]: https://github.com/actions/ai-spam-guard/compare
3+
[fork]: https://github.com/actions/ai-moderator/fork
4+
[pr]: https://github.com/actions/ai-moderator/compare
55
[code-of-conduct]: CODE_OF_CONDUCT.md
66

77
Hi there! We're thrilled that you'd like to contribute to this project. Your
@@ -18,9 +18,9 @@ by its terms.
1818
## Found a bug?
1919

2020
- **Ensure the bug was not already reported** by searching on GitHub under
21-
[Issues](https://github.com/actions/ai-spam-guard/issues).
21+
[Issues](https://github.com/actions/ai-moderator/issues).
2222
- If you're unable to find an open issue addressing the problem,
23-
[open a new one](https://github.com/actions/ai-spam-guard/issues/new). Be sure
23+
[open a new one](https://github.com/actions/ai-moderator/issues/new). Be sure
2424
to include a **title and clear description**, as much relevant information as
2525
possible, and a **code sample** or a **reproducible test case** demonstrating
2626
the expected behavior that is not occurring.
@@ -73,7 +73,7 @@ Once the changes are merged into main, a repository maintainer should:
7373
We adhere to [SemVer 2.0](https://semver.org/spec/v2.0.0.html) to the best of
7474
our ability. Commit the changes to `package.json` and `package-lock.json` and
7575
push them to main.
76-
1. [Draft a new release](https://github.com/actions/ai-spam-guard/releases/new)
76+
1. [Draft a new release](https://github.com/actions/ai-moderator/releases/new)
7777
pointing to the ref of the version bump you just made. Publish the release to
7878
the marketplace when complete.
7979
1. Finally: update the corresponding "major tag" (v1, v2, v3, etc) to point to

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AI Spam Guard
1+
# AI Moderator
22

33
An AI-powered GitHub Action that automatically detects and moderates spam in
44
issues and comments using LLMs.
@@ -10,7 +10,7 @@ write your own custom prompt if you've got more specific requirements.
1010
## Usage
1111

1212
Add this action to your repository's workflow file (e.g.,
13-
`.github/workflows/spam-guard.yml`):
13+
`.github/workflows/moderator.yml`):
1414

1515
```yaml
1616
name: AI Spam Guard
@@ -32,7 +32,7 @@ jobs:
3232
contents: read
3333
steps:
3434
- uses: actions/checkout@v4
35-
- uses: github/ai-spam-guard
35+
- uses: github/ai-moderator
3636
with:
3737
token: ${{ secrets.GITHUB_TOKEN }}
3838
spam-label: 'spam'
@@ -83,7 +83,7 @@ All prompts are enabled by default. You can selectively disable them based on
8383
your repository's moderation needs:
8484

8585
```yaml
86-
- uses: github/ai-spam-guard
86+
- uses: github/ai-moderator
8787
with:
8888
token: ${{ secrets.GITHUB_TOKEN }}
8989
enable-spam-detection: true # Enable general spam detection
@@ -92,7 +92,7 @@ your repository's moderation needs:
9292
```
9393
9494
You can iterate on or tweak these prompts via the
95-
[Models tab](https://github.com/github/ai-spam-guard/models) on this repository.
95+
[Models tab](https://github.com/github/ai-moderator/models) on this repository.
9696
If you want to push an update to this prompt, please also include updated test
9797
data so we can see the effect of the prompt update.
9898
@@ -102,7 +102,7 @@ You can also provide your own custom prompt file in your repository using the
102102
`custom-prompt-path` input:
103103

104104
```yaml
105-
- uses: github/ai-spam-guard
105+
- uses: github/ai-moderator
106106
with:
107107
token: ${{ secrets.GITHUB_TOKEN }}
108108
custom-prompt-path: '.github/prompts/my-custom-spam-detection.prompt.yml'

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'ai-spam-guard'
1+
name: 'ai-moderator'
22
description:
33
'Scan new issues and comments with GitHub Models AI prompts; label or hide
44
spam automatically.'

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ai-spam-guard",
2+
"name": "ai-moderator",
33
"version": "1.0.0",
44
"type": "module",
55
"exports": {

0 commit comments

Comments
 (0)