Skip to content

Commit

Permalink
Iteration 4.0 - trying to create a pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavo-codium committed Nov 8, 2024
1 parent 06b386f commit 38823f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,16 @@ jobs:
- name: Create pull request
uses: actions/github-script@v6
env:
GITHUB_TOKEN: ${{ secrets.CODIUM_PROXY_TOKEN }}
with:
script: |
const { data: pullRequest } = await github.rest.pulls.create({
const pullRequest = await github.rest.pulls.create({
owner: 'Codium-ai',
repo: 'codium-proxy',
title: 'Automated update to docs_context.txt',
head: 'update-docs-context-branch',
base: 'main', # Adjust this if the target branch is different
body: 'This is an automated pull request to update docs_context.txt',
});
core.setOutput('pull_request_url', pullRequest.html_url);
core.setOutput("pull_request_url", pullRequest.data.html_url);

0 comments on commit 38823f1

Please sign in to comment.