Skip to content

Commit a65cfd7

Browse files
committed
Merge pull request #2837 from dscho/monitor-component-updates
Start monitoring updates of Git for Windows' component in the open
2 parents b7353fd + fef8371 commit a65cfd7

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed
+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: Monitor component updates
2+
3+
# Git for Windows is a slightly modified subset of MSYS2. Some of its
4+
# components are maintained by Git for Windows, others by MSYS2. To help
5+
# keeping the former up to date, this workflow monitors the Atom/RSS feeds
6+
# and opens new tickets for each new component version.
7+
8+
on:
9+
schedule:
10+
- cron: "23 8,11,14,17 * * *"
11+
workflow_dispatch:
12+
13+
env:
14+
CHARACTER_LIMIT: 5000
15+
MAX_AGE: 7d
16+
17+
jobs:
18+
job:
19+
# Only run this in Git for Windows' fork
20+
if: github.event.repository.owner.login == 'git-for-windows'
21+
runs-on: ubuntu-latest
22+
permissions:
23+
issues: write
24+
strategy:
25+
matrix:
26+
component:
27+
- label: git
28+
feed: https://github.com/git/git/tags.atom
29+
- label: git-lfs
30+
feed: https://github.com/git-lfs/git-lfs/tags.atom
31+
- label: git-credential-manager
32+
feed: https://github.com/git-ecosystem/git-credential-manager/tags.atom
33+
- label: tig
34+
feed: https://github.com/jonas/tig/tags.atom
35+
- label: cygwin
36+
feed: https://github.com/cygwin/cygwin/releases.atom
37+
title-pattern: ^(?!.*newlib)
38+
- label: msys2-runtime-package
39+
feed: https://github.com/msys2/MSYS2-packages/commits/master/msys2-runtime.atom
40+
- label: msys2-runtime
41+
feed: https://github.com/msys2/msys2-runtime/commits/HEAD.atom
42+
aggregate: true
43+
- label: openssh
44+
feed: https://github.com/openssh/openssh-portable/tags.atom
45+
- label: libfido2
46+
feed: https://github.com/Yubico/libfido2/tags.atom
47+
- label: libcbor
48+
feed: https://github.com/PJK/libcbor/tags.atom
49+
- label: openssl
50+
feed: https://github.com/openssl/openssl/tags.atom
51+
title-pattern: ^(?!.*alpha)
52+
- label: gnutls
53+
feed: https://gnutls.org/news.atom
54+
- label: heimdal
55+
feed: https://github.com/heimdal/heimdal/tags.atom
56+
- label: git-sizer
57+
feed: https://github.com/github/git-sizer/tags.atom
58+
- label: gitflow
59+
feed: https://github.com/petervanderdoes/gitflow-avh/tags.atom
60+
- label: curl
61+
feed: https://github.com/curl/curl/tags.atom
62+
- label: libgpg-error
63+
feed: https://github.com/gpg/libgpg-error/releases.atom
64+
title-pattern: ^libgpg-error-[0-9\.]*$
65+
- label: libgcrypt
66+
feed: https://github.com/gpg/libgcrypt/releases.atom
67+
title-pattern: ^libgcrypt-[0-9\.]*$
68+
- label: gpg
69+
feed: https://github.com/gpg/gnupg/releases.atom
70+
- label: mintty
71+
feed: https://github.com/mintty/mintty/releases.atom
72+
- label: p7zip
73+
feed: https://sourceforge.net/projects/p7zip/rss?path=/p7zip
74+
- label: bash
75+
feed: https://git.savannah.gnu.org/cgit/bash.git/atom/?h=master
76+
aggregate: true
77+
- label: perl
78+
feed: https://github.com/Perl/perl5/tags.atom
79+
title-pattern: ^(?!.*(5\.[0-9]+[13579]|RC))
80+
- label: pcre2
81+
feed: https://github.com/PCRE2Project/pcre2/tags.atom
82+
fail-fast: false
83+
steps:
84+
- uses: git-for-windows/rss-to-issues@v0
85+
with:
86+
feed: ${{matrix.component.feed}}
87+
prefix: "[New ${{matrix.component.label}} version]"
88+
labels: component-update
89+
github-token: ${{ secrets.GITHUB_TOKEN }}
90+
character-limit: ${{ env.CHARACTER_LIMIT }}
91+
max-age: ${{ env.MAX_AGE }}
92+
aggregate: ${{matrix.component.aggregate}}
93+
title-pattern: ${{matrix.component.title-pattern}}

0 commit comments

Comments
 (0)