|
| 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: "11,31,51 * * * *" |
| 11 | + workflow_dispatch: |
| 12 | + |
| 13 | +env: |
| 14 | + CHARACTER_LIMIT: "5000" |
| 15 | + LAST_TIME: "48h" |
| 16 | + |
| 17 | +jobs: |
| 18 | + job: |
| 19 | + runs-on: ubuntu-latest |
| 20 | + strategy: |
| 21 | + matrix: |
| 22 | + component: |
| 23 | + - label: git |
| 24 | + feed: https://github.com/git/git/tags.atom |
| 25 | + - label: git-lfs |
| 26 | + feed: https://github.com/git-lfs/git-lfs/tags.atom |
| 27 | + - label: gcm-core |
| 28 | + feed: https://github.com/microsoft/git-credential-manager-core/tags.atom |
| 29 | + - label: tig |
| 30 | + feed: https://github.com/jonas/tig/tags.atom |
| 31 | + - label: cygwin |
| 32 | + feed: https://github.com/cygwin/cygwin/releases.atom |
| 33 | + - label: msys2-runtime-package |
| 34 | + feed: https://github.com/msys2/MSYS2-packages/commits/master/msys2-runtime.atom |
| 35 | + - label: msys2-runtime |
| 36 | + feed: https://github.com/msys2/msys2-runtime/commits/HEAD.atom |
| 37 | + - label: openssh |
| 38 | + feed: https://github.com/openssh/openssh-portable/tags.atom |
| 39 | + - label: openssl |
| 40 | + feed: https://github.com/openssl/openssl/tags.atom |
| 41 | + - label: heimdal |
| 42 | + feed: https://github.com/heimdal/heimdal/tags.atom |
| 43 | + - label: git-sizer |
| 44 | + feed: https://github.com/github/git-sizer/tags.atom |
| 45 | + - label: gitflow |
| 46 | + feed: https://github.com/petervanderdoes/gitflow-avh/tags.atom |
| 47 | + - label: curl |
| 48 | + feed: https://github.com/curl/curl/tags.atom |
| 49 | + - label: gpg |
| 50 | + feed: https://github.com/gpg/gnupg/releases.atom |
| 51 | + - label: mintty |
| 52 | + feed: https://github.com/mintty/mintty/releases.atom |
| 53 | + - label: p7zip |
| 54 | + feed: https://sourceforge.net/projects/p7zip/rss?path=/p7zip |
| 55 | + - label: bash |
| 56 | + feed: https://git.savannah.gnu.org/cgit/bash.git/atom/?h=master |
| 57 | + - label: perl |
| 58 | + feed: https://github.com/Perl/perl5/tags.atom |
| 59 | + fail-fast: false |
| 60 | + steps: |
| 61 | + - uses: guilhem/rss-issues-action@e910ad1171d9b3ca3e55c3c08862aae06ce35697 |
| 62 | + with: |
| 63 | + feed: ${{matrix.component.feed}} |
| 64 | + prefix: "[New ${{matrix.component.label}} version]" |
| 65 | + labels: component-update |
| 66 | + repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 67 | + characterLimit: ${{ env.CHARACTER_LIMIT }} |
| 68 | + lastTime: ${{ env.LAST_TIME }} |
0 commit comments