10
10
outputs :
11
11
version : ${{ steps.supported-versions-matrix.outputs.lowest }}
12
12
steps :
13
- - uses : actions/checkout@v4
13
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14
14
- 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
16
16
with :
17
17
workingDirectory : clients/GitHubEnterprise-3.0
18
18
generate-githubenterprise-3_0 :
23
23
container :
24
24
image : wyrihaximusnet/php:${{ needs.supported-versions-matrix.outputs.version }}-nts-alpine-slim-dev-root
25
25
steps :
26
- - uses : actions/checkout@v4
26
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
27
27
- uses : ramsey/composer-install@v2
28
28
- uses : ramsey/composer-install@v2
29
29
with :
@@ -41,12 +41,12 @@ jobs:
41
41
php -r 'file_put_contents(getenv("GITHUB_OUTPUT"), "previous=" . md5(file_get_contents("etc/specs/GitHubEnterprise-3.0/previous.spec.yaml")) . "\n", FILE_APPEND);'
42
42
- name : Look current up spec version
43
43
id : look-current-up-spec-version
44
-
44
+ uses : mikefarah/yq@bbdd97482f2d439126582a59689eb1c855944955 # v4.44.3
45
45
with :
46
46
cmd : yq '.info.version' 'etc/specs/GitHubEnterprise-3.0/current.spec.yaml'
47
47
- name : Look previous up spec version
48
48
id : look-previous-up-spec-version
49
-
49
+ uses : mikefarah/yq@bbdd97482f2d439126582a59689eb1c855944955 # v4.44.3
50
50
with :
51
51
cmd : yq '.info.version' 'etc/specs/GitHubEnterprise-3.0/previous.spec.yaml'
52
52
- name : Generate spec diff
64
64
run : |
65
65
make generate-client GitHubEnterprise-3.0
66
66
- name : Create Pull Request
67
- uses : peter-evans/create-pull-request@v7
67
+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
68
68
with :
69
69
branch : " GitHubEnterprise-3.0/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 }}"
70
70
token : ${{ secrets.SUBSPLIT_GITHUB_TOKEN }}
0 commit comments