Skip to content

Commit 94402e3

Browse files
[GitHubEnterprise-3.0] Pin dependencies
1 parent 5578228 commit 94402e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/generate-GitHubEnterprise-3.0.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
outputs:
1111
version: ${{ steps.supported-versions-matrix.outputs.lowest }}
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # 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/GitHubEnterprise-3.0
1818
generate-githubenterprise-3_0:
@@ -23,7 +23,7 @@ jobs:
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@08eba0b27e820071cde6df949e0beb9ba4906955 # 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/GitHubEnterprise-3.0/previous.spec.yaml")) . "\n", FILE_APPEND);'
4242
- name: Look current up spec version
4343
id: look-current-up-spec-version
44-
uses: mikefarah/[email protected]
44+
uses: mikefarah/yq@bbdd97482f2d439126582a59689eb1c855944955 # v4.44.3
4545
with:
4646
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.0/current.spec.yaml'
4747
- name: Look previous up spec version
4848
id: look-previous-up-spec-version
49-
uses: mikefarah/[email protected]
49+
uses: mikefarah/yq@bbdd97482f2d439126582a59689eb1c855944955 # v4.44.3
5050
with:
5151
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.0/previous.spec.yaml'
5252
- name: Generate spec diff
@@ -64,7 +64,7 @@ jobs:
6464
run: |
6565
make generate-client GitHubEnterprise-3.0
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: "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 }}"
7070
token: ${{ secrets.SUBSPLIT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)