File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - name : Checkout repository
15- uses : actions/checkout@v4
15+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
1717 - name : Dependency review
18- uses : actions/dependency-review-action@v4
19-
18+ uses : actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - name : Validate PR title
15- uses : amannn/action-semantic-pull-request@v5
15+ uses : amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
1616 env :
1717 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18-
Original file line number Diff line number Diff line change 55 workflow_call :
66 inputs :
77 image-name :
8- description : ' Container image name (e.g. my-app)'
8+ description : " Container image name (e.g. my-app)"
99 required : true
1010 type : string
1111 image-description :
12- description : ' Description used in OCI annotations'
12+ description : " Description used in OCI annotations"
1313 required : false
14- default : ' '
14+ default : " "
1515 type : string
1616 registry :
17- description : ' Container registry host (e.g. ghcr.io)'
17+ description : " Container registry host (e.g. ghcr.io)"
1818 required : false
19- default : ' ghcr.io'
19+ default : " ghcr.io"
2020 type : string
2121 repo-owner :
22- description : ' Owner/namespace for the image (defaults to calling repo owner)'
22+ description : " Owner/namespace for the image (defaults to calling repo owner)"
2323 required : false
24- default : ' '
24+ default : " "
2525 type : string
2626 context :
27- description : ' Build context passed to Docker (e.g. . or ./app)'
27+ description : " Build context passed to Docker (e.g. . or ./app)"
2828 required : false
29- default : ' . '
29+ default : " . "
3030 type : string
3131 dockerfile :
32- description : ' Relative path to Dockerfile'
32+ description : " Relative path to Dockerfile"
3333 required : false
34- default : ' Dockerfile'
34+ default : " Dockerfile"
3535 type : string
3636 platforms :
37- description : ' Target platforms for the image (comma-separated)'
37+ description : " Target platforms for the image (comma-separated)"
3838 required : false
39- default : ' linux/amd64,linux/arm64'
39+ default : " linux/amd64,linux/arm64"
4040 type : string
4141
4242env :
5555 packages : write
5656 steps :
5757 - name : Check out the repo
58- uses : actions/checkout@v4
58+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5959
6060 - name : Set up QEMU
6161 uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
Original file line number Diff line number Diff line change 44 workflow_call :
55 inputs :
66 node-version :
7- description : ' Node.js version to use'
7+ description : " Node.js version to use"
88 required : false
9- default : ' 24 '
9+ default : " 24 "
1010 type : string
1111 outputs :
1212 release-created :
13- description : ' Whether semantic-release created a new release/tag'
13+ description : " Whether semantic-release created a new release/tag"
1414 value : ${{ jobs.release.outputs.release-created }}
1515 release-tag :
16- description : ' The tag created by semantic-release (empty if no release was created)'
16+ description : " The tag created by semantic-release (empty if no release was created)"
1717 value : ${{ jobs.release.outputs.release-tag }}
1818
1919permissions :
@@ -35,14 +35,14 @@ jobs:
3535
3636 steps :
3737 - name : Checkout code
38- uses : actions/checkout@v4
38+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3939 with :
4040 # Full history is required — semantic-release reads all commits since the last
4141 # tag to determine the next version and generate the changelog.
4242 fetch-depth : 0
4343
4444 - name : Set up Node.js
45- uses : actions/setup-node@v4
45+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4646 with :
4747 node-version : ${{ inputs.node-version }}
4848
Original file line number Diff line number Diff line change 1- name : ' Dependency Review'
1+ name : " Dependency Review"
22on : [pull_request]
33
44permissions :
55 contents : read
66
77jobs :
88 dependency-review :
9- uses : health-informatics-uon/workflows/.github/workflows/dependency-review.yml@1.3.0
9+ uses : health-informatics-uon/workflows/.github/workflows/dependency-review.yml@6411293719f0d3fc7fddb74530d4435333460e4f # v 1.4.1
1010 secrets : inherit
Original file line number Diff line number Diff line change 1- name : ' Check PR title'
1+ name : " Check PR title"
22
33on :
44 pull_request :
1010
1111jobs :
1212 main :
13- uses : health-informatics-uon/workflows/.github/workflows/pr-title.yml@1.3.0
13+ uses : health-informatics-uon/workflows/.github/workflows/pr-title.yml@6411293719f0d3fc7fddb74530d4435333460e4f # v 1.4.1
1414 permissions :
1515 pull-requests : read
Original file line number Diff line number Diff line change 1717
1818jobs :
1919 release :
20- uses : health-informatics-uon/workflows/.github/workflows/semantic-release.yml@1.3.0
20+ uses : health-informatics-uon/workflows/.github/workflows/semantic-release.yml@6411293719f0d3fc7fddb74530d4435333460e4f # v 1.4.1
2121 with :
22- node-version : ' 24 '
22+ node-version : " 24 "
2323 secrets : inherit
2424
2525 publish-container :
26- uses : health-informatics-uon/workflows/.github/workflows/publish-container.yml@1.3.0
26+ uses : health-informatics-uon/workflows/.github/workflows/publish-container.yml@6411293719f0d3fc7fddb74530d4435333460e4f # v 1.4.1
2727 with :
2828 # Set your container image name
2929 image-name : <YOUR_IMAGE_NAME>
3030 # Describe your container image
31- image-description : ' <YOUR_IMAGE_DESCRIPTION>'
31+ image-description : " <YOUR_IMAGE_DESCRIPTION>"
3232 registry : ghcr.io
3333 # Path to the build context (usually '.')
3434 context : .
3939 secrets : inherit
4040
4141 semver-container :
42- uses : health-informatics-uon/workflows/.github/workflows/semver-container.yml@1.3.0
42+ uses : health-informatics-uon/workflows/.github/workflows/semver-container.yml@6411293719f0d3fc7fddb74530d4435333460e4f # v 1.4.1
4343 needs : [release, publish-container]
4444 if : needs.release.outputs.release-created == 'true'
4545 with :
Original file line number Diff line number Diff line change 1717
1818jobs :
1919 release :
20- uses : health-informatics-uon/workflows/.github/workflows/semantic-release.yml@1.4.0
20+ uses : health-informatics-uon/workflows/.github/workflows/semantic-release.yml@6411293719f0d3fc7fddb74530d4435333460e4f # v 1.4.1
2121 with :
22- node-version : ' 24 '
22+ node-version : " 24 "
2323 secrets : inherit
2424
2525 # PyPI trusted publishing (OIDC) cannot be used from within a reusable workflow.
@@ -36,16 +36,16 @@ jobs:
3636 permissions :
3737 id-token : write
3838 steps :
39- - uses : actions/checkout@v4
39+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4040
41- - uses : actions/setup-python@v5
41+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4242 with :
43- python-version : ' 3.x'
43+ python-version : " 3.x"
4444
4545 - name : Build package
4646 run : |
4747 pip install build
4848 python -m build
4949
5050 - name : Publish to PyPI
51- uses : pypa/gh-action-pypi-publish@release/v1
51+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
You can’t perform that action at this time.
0 commit comments