Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .github/workflows/import-rss-feeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,17 @@ jobs:
echo "has_changes=false" >> $GITHUB_OUTPUT
fi

- name: Commit and push changes
- name: Open pull request with new stories
if: steps.check_changes.outputs.has_changes == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add src/content/stories/*.md
git commit -m "chore: import new RSS feed stories"
git push
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: import new RSS feed stories"
branch: automated/import-rss-feeds
title: "chore: import new RSS feed stories"
body: |
This pull request was automatically generated by the RSS feed importer.

It contains new stories fetched from AI4EOSC RSS feeds. Please review before merging.
labels: automated
add-paths: src/content/stories/*.md