diff --git a/.github/workflows/automatic-release.yml b/.github/workflows/automatic-release.yml index 32bdcc8..2e73e90 100644 --- a/.github/workflows/automatic-release.yml +++ b/.github/workflows/automatic-release.yml @@ -12,7 +12,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29" # v4 + uses: "actions/checkout@v4" - name: "Release" uses: "laminas/automatic-releases@1.24.0" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 498bbdf..05790dd 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -1,13 +1,12 @@ name: 'Continuous Integration' on: - create: pull_request: push: branches: - - "*.x" + - '[0-9]+.[0-9]+.x' + - 'refs/pull/*' tags: - - "**" jobs: coding-standards: @@ -22,10 +21,10 @@ jobs: steps: - name: "Checkout" - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + uses: actions/checkout@v2 - name: "Install PHP with extensions" - uses: shivammathur/setup-php@2.30.4 + uses: shivammathur/setup-php@v2 with: coverage: none extensions: "mbstring, json, mongo"