Skip to content

Commit af44590

Browse files
CopilotYuri05
andauthored
Modifying workflow trigger and artifact handling (#735)
* chore: update compile-journal-publications workflow * Update compile-journal-publications.yml * Update compile-journal-publications.yml --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Juri Solodenko <Yuri05@users.noreply.github.com>
1 parent b510d32 commit af44590

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/compile-journal-publications.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ name: Compile Journal Publications
22

33
on:
44
workflow_dispatch:
5+
issues:
56

67
permissions:
7-
contents: read
8+
contents: write
89
issues: read
910

1011
jobs:
@@ -27,8 +28,10 @@ jobs:
2728
python .github/scripts/compile-journal-publications.py
2829
--output journal-publications.md
2930
30-
- name: Upload markdown table artifact
31-
uses: actions/upload-artifact@v7
32-
with:
33-
name: journal-publications
34-
path: journal-publications.md
31+
- name: Commit and push journal-publications.md
32+
run: |
33+
git config user.name "github-actions[bot]"
34+
git config user.email "github-actions[bot]@users.noreply.github.com"
35+
git add journal-publications.md
36+
git diff --cached --quiet || git commit -m "update journal-publications.md"
37+
git push

0 commit comments

Comments
 (0)