File tree Expand file tree Collapse file tree 8 files changed +20
-20
lines changed
modules/restricted-guests/synapse
packages/element-web-module-api Expand file tree Collapse file tree 8 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
1717 id-token : write
1818 steps :
1919 - name : 🧮 Checkout code
20- uses : actions/checkout@v4
20+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2121
2222 - name : 🔧 Yarn cache
23- uses : actions/setup-node@v4
23+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2424 with :
2525 cache : " yarn"
2626 registry-url : " https://registry.npmjs.org"
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 name : Run Playwright end-to-end tests & upload html report
1515 runs-on : ubuntu-24.04-arm
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
1818 with :
1919 repository : ${{ inputs.webapp-artifact && 'element-hq/element-modules' || github.repository }}
2020
21- - uses : actions/setup-node@v4
21+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2222 with :
2323 cache : " yarn"
2424 node-version : " lts/*"
3131 run : echo "version=$(yarn list --pattern @playwright/test --depth=0 --json --non-interactive --no-progress | jq -r '.data.trees[].name')" >> "$GITHUB_OUTPUT"
3232
3333 - name : Cache playwright binaries
34- uses : actions/cache@v4
34+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
3535 id : playwright-cache
3636 with :
3737 path : ~/.cache/ms-playwright
4343
4444 - name : Fetch webapp
4545 if : inputs.webapp-artifact
46- uses : actions/download-artifact@v4
46+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
4747 with :
4848 name : ${{ inputs.webapp-artifact }}
4949 path : webapp
6060
6161 - name : Upload blob report to GitHub Actions Artifacts
6262 if : always()
63- uses : actions/upload-artifact@v4
63+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
6464 with :
6565 name : playwright-html-report
6666 path : playwright-report
Original file line number Diff line number Diff line change 3838 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
3939
4040 - name : 📥 Download artifact
41- uses : actions/download-artifact@v4
41+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
4242 with :
4343 github-token : ${{ secrets.GITHUB_TOKEN }}
4444 run-id : ${{ github.event.workflow_run.id }}
5656
5757 - name : " 🩻 SonarCloud Scan"
5858 id : sonarcloud
59- uses :
matrix-org/[email protected] 59+ uses : matrix-org/sonarcloud-workflow-action@6fa326fe328568a4800c431fe864826caff79b41 # v3.3
6060 # workflow_run fails report against the develop commit always, we don't want that for PRs
6161 continue-on-error : ${{ github.event.workflow_run.head_branch != 'develop' }}
6262 with :
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ jobs:
2424 - lint:prettier
2525 - lint:knip
2626 steps :
27- - uses : actions/checkout@v4
27+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2828
29- - uses : actions/setup-node@v4
29+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3030 with :
3131 cache : " yarn"
3232 node-version : " lts/*"
3333
34- - uses : actions/setup-python@v5
34+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3535 with :
3636 python-version : " 3.11"
3737
Original file line number Diff line number Diff line change 1717 env :
1818 DOCKER_IMAGE : ghcr.io/element-hq/synapse-guest-module
1919 steps :
20- - uses : actions/checkout@v4
20+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2121
2222 - name : Login to ghcr.io
2323 uses : docker/login-action@v3
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ jobs:
1414 name : Run tests & upload coverage reports
1515 runs-on : ubuntu-24.04-arm
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
1818
19- - uses : actions/setup-node@v4
19+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2020 with :
2121 cache : " yarn"
2222 node-version : " lts/*"
2323
24- - uses : actions/setup-python@v5
24+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2525 with :
2626 python-version : " 3.11"
2727
3535 run : sed -ie 's/filename="/filename="modules\/restricted-guests\/synapse\//' modules/restricted-guests/synapse/coverage.xml
3636
3737 - name : Upload Artifact
38- uses : actions/upload-artifact@v4
38+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3939 with :
4040 name : coverage
4141 path : |
Original file line number Diff line number Diff line change 11ARG DEBIAN_VERSION_NUMERIC=12
22
33# Now copy it into our base image.
4- FROM gcr.io/distroless/base-nossl-debian${DEBIAN_VERSION_NUMERIC}:debug AS build
4+ FROM gcr.io/distroless/base-nossl-debian${DEBIAN_VERSION_NUMERIC}:debug@sha256:1a14fd3ffe3745e5523faa1740904dfd851c324957e230ea2db31601e2f537ec AS build
55
66FROM gcr.io/distroless/base-nossl-debian${DEBIAN_VERSION_NUMERIC}
77
Original file line number Diff line number Diff line change 1- ARG ELEMENT_VERSION=latest
1+ ARG ELEMENT_VERSION=latest@sha256:6e91e641abe70dd02f1461b4f1ebf8f6807bfa381ec7f2c13e9e286c4e2b2918
22
3- FROM --platform=$BUILDPLATFORM node:lts-alpine AS builder
3+ FROM --platform=$BUILDPLATFORM node:lts-alpine@sha256:dbcedd8aeab47fbc0f4dd4bffa55b7c3c729a707875968d467aaaea42d6225af AS builder
44
55ARG BUILD_CONTEXT
66
You can’t perform that action at this time.
0 commit comments