|  | 
|  | 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-clang | 
|  | 84 | +            feed: https://github.com/msys2/MINGW-packages/commits/master/mingw-w64-clang.atom | 
|  | 85 | +      fail-fast: false | 
|  | 86 | +    steps: | 
|  | 87 | +      - uses: git-for-windows/rss-to-issues@v0 | 
|  | 88 | +        with: | 
|  | 89 | +          feed: ${{matrix.component.feed}} | 
|  | 90 | +          prefix: "[New ${{matrix.component.label}} version]" | 
|  | 91 | +          labels: component-update | 
|  | 92 | +          github-token: ${{ secrets.GITHUB_TOKEN }} | 
|  | 93 | +          character-limit: ${{ env.CHARACTER_LIMIT }} | 
|  | 94 | +          max-age: ${{ env.MAX_AGE }} | 
|  | 95 | +          aggregate: ${{matrix.component.aggregate}} | 
|  | 96 | +          title-pattern: ${{matrix.component.title-pattern}} | 
0 commit comments