From 968507aba0c7b7bb7c3df0ee1bd6caa8bd0fcc9f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 6 Dec 2021 23:49:29 +0530 Subject: Convert all GHA references to normal versions (#1570) --- .github/workflows/update_publicsuffix_data.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to '.github/workflows/update_publicsuffix_data.yml') 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 }} -- cgit v1.2.3