Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

chore(actions): pin github actions versions (#1138)

Corentin Thomassetf840d2708870
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e8ce2ff4..aad13b14 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -17,9 +17,9 @@ jobs:
persist-credentials: false
- name: Install pnpm
- uses: pnpm/action-setup@v4
+ uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- - uses: actions/setup-node@v4
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 26
cache: "pnpm"
diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml
index 10bbbf48..5a6264bc 100644
--- a/.github/workflows/release-docker.yaml
+++ b/.github/workflows/release-docker.yaml
@@ -29,26 +29,26 @@ jobs:
echo "build_date=$(git show -s --format=%cI HEAD)" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
- uses: docker/login-action@v3
+ uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
- uses: docker/login-action@v3
+ uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
- uses: docker/setup-qemu-action@v3
+ uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
+ uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
- name: Build and push root Docker image
- uses: docker/build-push-action@v6
+ uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
file: ./packages/app/Dockerfile
@@ -65,7 +65,7 @@ jobs:
ghcr.io/papra-hq/papra:${{ inputs.version }}-root
- name: Build and push rootless Docker image
- uses: docker/build-push-action@v6
+ uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
file: ./packages/app/Dockerfile.rootless
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 30cea787..3a53b87d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,9 +24,9 @@ jobs:
persist-credentials: false
- name: Install pnpm
- uses: pnpm/action-setup@v4
+ uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- - uses: actions/setup-node@v4
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 26
cache: "pnpm"
@@ -40,7 +40,7 @@ jobs:
- name: Create Release Pull Request
id: changesets
- uses: changesets/action@v1
+ uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
with:
# Note: pnpm install after versioning is necessary to refresh lockfile
version: pnpm run version