| 
 | 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