Skip to content

Commit 67e748c

Browse files
authored
Merge pull request #3172 from dscho/use-rss-to-issues
monitor-components: switch to a faster Action
2 parents 50aae9b + 87c7da8 commit 67e748c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/monitor-components.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
workflow_dispatch:
1212

1313
env:
14-
CHARACTER_LIMIT: "5000"
15-
LAST_TIME: "48h"
14+
CHARACTER_LIMIT: 5000
15+
MAX_AGE: 48h
1616

1717
jobs:
1818
job:
@@ -30,7 +30,7 @@ jobs:
3030
feed: https://github.com/jonas/tig/tags.atom
3131
- label: cygwin
3232
feed: https://github.com/cygwin/cygwin/releases.atom
33-
titleFilter: newlib
33+
title-pattern: ^(?!.*newlib)
3434
- label: msys2-runtime-package
3535
feed: https://github.com/msys2/MSYS2-packages/commits/master/msys2-runtime.atom
3636
- label: msys2-runtime
@@ -40,7 +40,7 @@ jobs:
4040
feed: https://github.com/openssh/openssh-portable/tags.atom
4141
- label: openssl
4242
feed: https://github.com/openssl/openssl/tags.atom
43-
titleFilter: alpha
43+
title-pattern: ^(?!.*alpha)
4444
- label: gnutls
4545
feed: https://gnutls.org/news.atom
4646
- label: heimdal
@@ -62,16 +62,16 @@ jobs:
6262
aggregate: true
6363
- label: perl
6464
feed: https://github.com/Perl/perl5/tags.atom
65-
titleFilter: (5\.[0-9]+[13579])|(RC)
65+
title-pattern: ^(?!.*(5\.[0-9]+[13579]|RC))
6666
fail-fast: false
6767
steps:
68-
- uses: guilhem/rss-issues-action@cadba1e05ad93613180979261b7e05cee1a9b282
68+
- uses: git-for-windows/rss-to-issues@v0
6969
with:
7070
feed: ${{matrix.component.feed}}
7171
prefix: "[New ${{matrix.component.label}} version]"
7272
labels: component-update
73-
repo-token: ${{ secrets.GITHUB_TOKEN }}
74-
characterLimit: ${{ env.CHARACTER_LIMIT }}
75-
lastTime: ${{ env.LAST_TIME }}
73+
github-token: ${{ secrets.GITHUB_TOKEN }}
74+
character-limit: ${{ env.CHARACTER_LIMIT }}
75+
max-age: ${{ env.MAX_AGE }}
7676
aggregate: ${{matrix.component.aggregate}}
77-
titleFilter: ${{matrix.component.titleFilter}}
77+
title-pattern: ${{matrix.component.title-pattern}}

0 commit comments

Comments
 (0)