We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5606a69 commit 4416fd6Copy full SHA for 4416fd6
.github/workflows/news.yml
@@ -0,0 +1,27 @@
1
+name: Update news
2
+
3
+on:
4
+ schedule:
5
+ # Get the feed every day at 1:13 UTC
6
+ - cron: "13 1 * * *"
7
+ # allow manual update
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Download File
17
+ run: |
18
+ curl https://www.softwareheritage.org/tag/codemeta/feed/ --output ./data/news.xml
19
+ working-directory: ${{ github.workspace }}
20
+ - name: Commit and Push Changes
21
22
+ git config --global user.name "${{ github.actor }}"
23
+ git config --global user.email "${{ github.actor }}@users.noreply.github.com"
24
25
+ git add ./data/news.xml
26
+ git commit -m 'Update news feed'
27
+ git push
0 commit comments