Skip to content

Commit

Permalink
Update tld-update.yml (#1697)
Browse files Browse the repository at this point in the history
Use default GITHUB_TOKEN.
  • Loading branch information
weppos authored Jan 30, 2023
1 parent 19f2225 commit dadfb52
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/tld-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
steps:

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ^1.15
go-version: '^1.15'

- name: Run unit tests
run: go test tools/*.go
Expand All @@ -30,10 +30,8 @@ jobs:

- name: Create pull-request
id: cpr
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
token: "${{ secrets.BOT_PAT }}"
push-to-fork: tld-update-bot/list
commit-message: "util: gTLD data autopull updates for ${{ steps.get-date.outputs.now }}"
title: "util: gTLD autopull updates for ${{ steps.get-date.outputs.now }}"
body: "Public suffix list gTLD data updates from `tools/patchnewgtlds` for ${{ steps.get-date.outputs.now }}."
Expand Down

0 comments on commit dadfb52

Please sign in to comment.