File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818 build :
1919 name : Build
20- runs-on : ubuntu-latest
20+ runs-on : uipath- ubuntu-latest
2121
2222 needs :
2323 - lint
@@ -30,15 +30,15 @@ jobs:
3030
3131 steps :
3232 - name : Checkout
33- uses : actions/checkout@v4
33+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3434
3535 - name : Setup uv
36- uses : astral-sh/setup-uv@v5
36+ uses : astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
3737 with :
3838 enable-cache : true
3939
4040 - name : Setup Python
41- uses : actions/setup-python@v5
41+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4242 with :
4343 python-version-file : " .python-version"
4444
@@ -49,14 +49,14 @@ jobs:
4949 run : uv build
5050
5151 - name : Upload artifacts
52- uses : actions/upload-artifact@v4
52+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5353 with :
5454 name : release-dists
5555 path : dist/
5656
5757 pypi-publish :
5858 name : Upload release to PyPI
59- runs-on : ubuntu-latest
59+ runs-on : uipath- ubuntu-latest
6060 environment : pypi
6161
6262 needs :
@@ -67,10 +67,10 @@ jobs:
6767
6868 steps :
6969 - name : Retrieve release distributions
70- uses : actions/download-artifact@v4
70+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
7171 with :
7272 name : release-dists
7373 path : dist/
7474
7575 - name : Publish package distributions to PyPI
76- uses : pypa/gh-action-pypi-publish@release/v1
76+ uses : pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
Original file line number Diff line number Diff line change 66jobs :
77 commitlint :
88 name : Commit Lint
9- runs-on : ubuntu-latest
9+ runs-on : uipath- ubuntu-latest
1010 permissions :
1111 contents : read
1212
1313 steps :
1414 - name : Checkout
15- uses : actions/checkout@v4
15+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1616 with :
1717 fetch-depth : 0
1818
1919 - name : Setup Node
20- uses : actions/setup-node@v3
20+ uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
2121 with :
2222 node-version : 22
2323
Original file line number Diff line number Diff line change 1- name : Deploy
2-
3- on :
4- push :
5- branches : [ "main" ]
6-
7- permissions :
8- contents : read
9-
10- jobs :
11- deploy :
12- environment : website-prod
13- runs-on : ubuntu-latest
14-
15- steps :
16- - uses : actions/checkout@v4
17-
18- - name : Azure login
19- uses : azure/login@v2
20- with :
21- creds : ${{ secrets.AZURE_CREDENTIALS }}
22-
23- - name : Install Azure CLI
24- uses : pietrobolcato/install-azure-cli-action@main
25-
26- - name : Run Deploy.ps1
27- shell : pwsh
28- run : ./Deploy.ps1 `
29- -resourceGroupName ${{ secrets.AZURE_RESOURCE_GROUP }} `
30- -appName ${{ secrets.AZURE_APP_NAME }} `
31- -acrName ${{ secrets.AZURE_ACR_NAME }}
1+ name : Deploy
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ deploy :
12+ environment : website-prod
13+ runs-on : uipath- ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
17+
18+ - name : Azure login
19+ uses : azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
20+ with :
21+ creds : ${{ secrets.AZURE_CREDENTIALS }}
22+
23+ - name : Install Azure CLI
24+ uses : pietrobolcato/install-azure-cli-action@161e654d6c82d50576f1b32adbeea9433bf2a0ea # main
25+
26+ - name : Run Deploy.ps1
27+ shell : pwsh
28+ run : ./Deploy.ps1 `
29+ -resourceGroupName ${{ secrets.AZURE_RESOURCE_GROUP }} `
30+ -appName ${{ secrets.AZURE_APP_NAME }} `
31+ -acrName ${{ secrets.AZURE_ACR_NAME }}
Original file line number Diff line number Diff line change 66jobs :
77 lint :
88 name : Lint
9- runs-on : ubuntu-latest
9+ runs-on : uipath- ubuntu-latest
1010 permissions :
1111 contents : read
1212
1313 steps :
1414 - name : Checkout
15- uses : actions/checkout@v4
15+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1616
1717 - name : Setup uv
18- uses : astral-sh/setup-uv@v5
18+ uses : astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
1919 with :
2020 enable-cache : true
2121
2222 - name : Setup Python
23- uses : actions/setup-python@v5
23+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2424 with :
2525 python-version-file : " .python-version"
2626
Original file line number Diff line number Diff line change 66
77jobs :
88 publish-dev :
9- runs-on : ubuntu-latest
9+ runs-on : uipath- ubuntu-latest
1010 permissions :
1111 contents : read
1212 pull-requests : write
@@ -16,15 +16,15 @@ jobs:
1616
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v4
19+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2020
2121 - name : Setup uv
22- uses : astral-sh/setup-uv@v5
22+ uses : astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
2323 with :
2424 enable-cache : true
2525
2626 - name : Setup Python
27- uses : actions/setup-python@v5
27+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2828 with :
2929 python-version-file : " .python-version"
3030
Original file line number Diff line number Diff line change @@ -10,20 +10,20 @@ jobs:
1010 strategy :
1111 matrix :
1212 python-version : ["3.11", "3.12", "3.13"]
13- os : [ubuntu-latest, windows-latest]
13+ os : [uipath- ubuntu-latest, uipath- windows-latest]
1414
1515 permissions :
1616 contents : read
1717
1818 steps :
1919 - name : Checkout
20- uses : actions/checkout@v4
20+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2121
2222 - name : Setup uv
23- uses : astral-sh/setup-uv@v5
23+ uses : astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
2424
2525 - name : Setup Python
26- uses : actions/setup-python@v5
26+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2727 with :
2828 python-version : ${{ matrix.python-version }}
2929
You can’t perform that action at this time.
0 commit comments