-
Notifications
You must be signed in to change notification settings - Fork 918
51 lines (44 loc) · 1.41 KB
/
public-suffixes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Update Public Suffix List
on:
schedule:
- cron: '0 10 * * *'
env:
LC_ALL: "en_US.UTF-8"
jobs:
update-psl:
if: github.repository == 'line/armeria'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: setup-jdk-21
name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Update public suffix list
run: |
./gradlew --no-daemon --stacktrace :core:publicSuffixes
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSWORD }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
# The title of the pull request.
title: Update public suffix list
commit-message: Update public suffix list
author: Meri Kim <[email protected]>
branch: update-public-suffixes
committer: Meri Kim <[email protected]>
delete-branch: true
label: miscellaneous
add-paths: |
core/src/main/resources/com/linecorp/armeria/public_suffixes.txt