Skip to content

Commit cc6cc94

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 255b3cc + 32e431e commit cc6cc94

File tree

2 files changed

+111
-0
lines changed

2 files changed

+111
-0
lines changed

.github/dependabot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
# especially
6+
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot#enabling-dependabot-version-updates-for-actions
7+
8+
version: 2
9+
updates:
10+
- package-ecosystem: "github-actions" # See documentation for possible values
11+
directory: "/" # Location of package manifests
12+
schedule:
13+
interval: "weekly"
+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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: 7-zip
73+
feed: https://sourceforge.net/projects/sevenzip/rss?path=/7-Zip
74+
aggregate: true
75+
- label: bash
76+
feed: https://git.savannah.gnu.org/cgit/bash.git/atom/?h=master
77+
aggregate: true
78+
- label: perl
79+
feed: https://github.com/Perl/perl5/tags.atom
80+
title-pattern: ^(?!.*(5\.[0-9]+[13579]|RC))
81+
- label: pcre2
82+
feed: https://github.com/PCRE2Project/pcre2/tags.atom
83+
- label: mingw-w64-llvm
84+
feed: https://github.com/msys2/MINGW-packages/commits/master/mingw-w64-llvm.atom
85+
- label: innosetup
86+
feed: https://github.com/jrsoftware/issrc/tags.atom
87+
fail-fast: false
88+
steps:
89+
- uses: git-for-windows/rss-to-issues@v0
90+
with:
91+
feed: ${{matrix.component.feed}}
92+
prefix: "[New ${{matrix.component.label}} version]"
93+
labels: component-update
94+
github-token: ${{ secrets.GITHUB_TOKEN }}
95+
character-limit: ${{ env.CHARACTER_LIMIT }}
96+
max-age: ${{ env.MAX_AGE }}
97+
aggregate: ${{matrix.component.aggregate}}
98+
title-pattern: ${{matrix.component.title-pattern}}

0 commit comments

Comments
 (0)