summaryrefslogtreecommitdiffstats
path: root/.github/workflows/auto-pr-description.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/auto-pr-description.yml')
-rw-r--r--.github/workflows/auto-pr-description.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/auto-pr-description.yml b/.github/workflows/auto-pr-description.yml
new file mode 100644
index 00000000..5cead5b9
--- /dev/null
+++ b/.github/workflows/auto-pr-description.yml
@@ -0,0 +1,24 @@
+name: Auto-generate PR description [G4F]
+
+on:
+ pull_request:
+ types: [opened, synchronize]
+
+jobs:
+ generate-pr-description:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: write
+ issues: write
+
+ steps:
+ - name: Check out repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Auto-generate PR Description
+ uses: yuri-val/auto-pr-description-g4f-action@v1
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file