Skip to content

Commit

Permalink
ci: change yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kvankova committed Nov 7, 2024
1 parent e99b308 commit 935c095
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/code-embedder.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Code Embedder

on:
pull_request_target:
types: [opened, synchronize]
pull_request

permissions:
contents: write

jobs:
code_embedder:
Expand All @@ -12,10 +14,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}


- name: Run code embedder
uses: kvankova/code-embedder@v0.5.1
env:
GITHUB_TOKEN: ${{ secrets.CODE_EMBEDDER }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 935c095

Please sign in to comment.