Update Public Suffix List #439
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Public Suffix List | |
on: | |
schedule: | |
- cron: '0 10 * * *' | |
env: | |
LC_ALL: "en_US.UTF-8" | |
jobs: | |
update-psl: | |
if: github.repository == 'jrhee17/armeria' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- id: setup-jdk-19 | |
name: Set up JDK 19 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '19' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- 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@v3 | |
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@v4 | |
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 |