Skip to content

Commit

Permalink
update pub gha
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Funk committed Aug 1, 2024
1 parent 29fceb3 commit f755c8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/update-publications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
- uses: r-lib/actions/setup-renv@v2

- name: Create bibtex file with selected entries
run: source("snippets/update_publications.R")
run: |
gh_repository <- ${{ github.repository }}
source("snippets/update_publications.R")
shell: Rscript {0}

- uses: peter-evans/create-pull-request@v6
Expand Down
2 changes: 1 addition & 1 deletion snippets/update_publications.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
last_comment_pubs <- gh::gh(
"/repos/{gh_repo}/issues/{issue_number}/comments",
gh_repo = "${{ github.repository }}",
gh_repo = gh_repository,
issue_number = 3,
.accept = "application/vnd.github.v3.full+json"
) |>
Expand Down

0 comments on commit f755c8c

Please sign in to comment.