aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update_publicsuffix_data.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-06 23:49:29 +0530
committerGitHub <noreply@github.com>2021-12-06 18:19:29 +0000
commit968507aba0c7b7bb7c3df0ee1bd6caa8bd0fcc9f (patch)
treebb6c0dbc3381c5314953d99d0581d0a99b700388 /.github/workflows/update_publicsuffix_data.yml
parent20eae05eec21784bf57a6687b702918476b83a05 (diff)
Convert all GHA references to normal versions (#1570)
Diffstat (limited to '.github/workflows/update_publicsuffix_data.yml')
-rw-r--r--.github/workflows/update_publicsuffix_data.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml
index bc6132c9..1fcb40e8 100644
--- a/.github/workflows/update_publicsuffix_data.yml
+++ b/.github/workflows/update_publicsuffix_data.yml
@@ -9,10 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
+ uses: actions/checkout@v2.4.0
+
+ - name: Set up JDK
+ uses : actions/setup-java@v2.4.0
+ with :
+ distribution : 'zulu'
+ java-version : '11'
+ cache: 'gradle'
- name: Download new publicsuffix data
- uses: gradle/gradle-build-action@cba1833ddecbbee649950c284416981928631008
+ uses: gradle/gradle-build-action@v2.0.1
with:
arguments: updatePSL
@@ -27,7 +34,7 @@ jobs:
- name: Create Pull Request
id: cpr
- uses: peter-evans/create-pull-request@01f7dd1d28f5131231ba3ede0f1c8cb413584a1d
+ uses: peter-evans/create-pull-request@v3.11.0
if: env.UPDATED == 'true'
with:
assignees: msfjarvis
@@ -42,14 +49,14 @@ jobs:
- name: Auto approve
if: steps.cpr.outputs.pull-request-operation == 'created'
- uses: juliangruber/approve-pull-request-action@36e19d8a79c9c62bf85a0565cb2799a3cf395343
+ uses: juliangruber/approve-pull-request-action@v1.1.0
with:
github-token: ${{ secrets.PSL_UPDATE_TOKEN }}
number: ${{ steps.cpr.outputs.pull-request-number }}
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
- uses: peter-evans/enable-pull-request-automerge@d2ede5636b3febc92809259995e643565e675aab
+ uses: peter-evans/enable-pull-request-automerge@v1.1.0
with:
token: ${{ secrets.PSL_UPDATE_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}