1010 outputs :
1111 version : {{ "${{ steps.supported-versions-matrix.outputs.lowest }}" }}
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1414 - id : supported-versions-matrix
15- uses : WyriHaximus/github-action-composer-php-versions-in-range@v1
15+ uses : WyriHaximus/github-action-composer-php-versions-in-range@ea3d54bf7909d5607c4f32bda9cd8d64e420ec99 # v1
1616 with :
1717 workingDirectory : clients/{{ path }}
1818 generate-{{ path|replace({"." : " _" })|lower }}:
2323 container :
2424 image : wyrihaximusnet/php:{{ "${{ needs.supported-versions-matrix.outputs.version }}" }}-nts-alpine-slim-dev-root
2525 steps :
26- - uses : actions/checkout@v4
26+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2727 - uses : ramsey/composer-install@v2
2828 - uses : ramsey/composer-install@v2
2929 with :
@@ -41,12 +41,12 @@ jobs:
4141 php -r 'file_put_contents(getenv("GITHUB_OUTPUT"), "previous=" . md5(file_get_contents("etc/specs/{{ path }}/previous.spec.yaml")) . "\n", FILE_APPEND);'
4242 - name : Look current up spec version
4343 id : look-current-up-spec-version
44- 44+ uses : mikefarah/yq@f03c9dc599c37bfcaf533427211d05e51e6fee64 # v4.47.1
4545 with :
4646 cmd : yq '.info.version' 'etc/specs/{{ path }}/current.spec.yaml'
4747 - name : Look previous up spec version
4848 id : look-previous-up-spec-version
49- 49+ uses : mikefarah/yq@f03c9dc599c37bfcaf533427211d05e51e6fee64 # v4.47.1
5050 with :
5151 cmd : yq '.info.version' 'etc/specs/{{ path }}/previous.spec.yaml'
5252 - name : Generate spec diff
6464 run : |
6565 make generate-client {{ path }}
6666 - name : Create Pull Request
67- uses : peter-evans/create-pull-request@v7
67+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
6868 with :
6969 branch : " {{ path }}/from-{{ " ${{ steps.look-current-up-spec-version.outputs.result }}" }}-{{ "${{ steps.spec-hash.outputs.current }}" }}-from-{{ "${{ steps.look-previous-up-spec-version.outputs.result }}" }}-{{ "${{ steps.spec-hash.outputs.current }}" }}"
7070 token : {{ "${{ secrets.SUBSPLIT_GITHUB_TOKEN }}" }}
0 commit comments