Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Lock GitHub Actions workflow dependencies (#14340)

Manav Rathi0d8b4ccf9021
diff --git a/.github/checks/workflow-security/check.rb b/.github/checks/workflow-security/check.rb
index 39ea929968..c299d10b48 100644
--- a/.github/checks/workflow-security/check.rb
+++ b/.github/checks/workflow-security/check.rb
@@ -10,12 +10,7 @@ SENSITIVE_TRIGGERS = %w[
discussion_comment
workflow_run
].to_set.freeze
-
-CHECKED_PATHS = [
- ".github/workflows/*.{yml,yaml}",
- ".github/actions/**/*.{yml,yaml}",
-].freeze
-USES_REF = %r{\A([A-Za-z0-9._-]+/[A-Za-z0-9._-]+(?:/[A-Za-z0-9._/-]+)?)@(\S+)\z}
+USES_REF = %r{\A([A-Za-z0-9._-]+/[A-Za-z0-9._-]+/\.github/workflows/[^@]+)@(\S+)\z}
FULL_SHA = /\A[0-9a-fA-F]{40}\z/
def workflow_yaml(path)
@@ -36,56 +31,36 @@ def trigger_names(workflow)
[]
end
-def uses_values(node)
- case node
- when Hash
- node.flat_map do |key, value|
- [key.to_s == "uses" && value.is_a?(String) ? value : nil, *uses_values(value)]
- end.compact
- when Array
- node.flat_map { |value| uses_values(value) }
- else
- []
- end
-end
-
-def workflow_facts(path)
- workflow = workflow_yaml(path)
- triggers = trigger_names(workflow).to_set & SENSITIVE_TRIGGERS
- unpinned_actions = uses_values(workflow).each_with_object(Set.new) do |uses, actions|
- action, ref = uses.match(USES_REF)&.captures
- next unless action
- next if ref.match?(FULL_SHA)
-
- actions.add("#{action}@#{ref}")
- end
-
- { triggers: triggers, unpinned_actions: unpinned_actions }
-end
-
abort("Usage: #{$PROGRAM_NAME}") unless ARGV.empty?
-checked_files = CHECKED_PATHS.flat_map { |path| Dir.glob(path) }.sort
-
+checked_files = Dir.glob(".github/workflows/*.{yml,yaml}").sort
trigger_violations = []
-unpinned_violations = []
+unpinned_workflows = []
checked_files.each do |path|
- facts = workflow_facts(path)
- facts[:triggers].each do |trigger|
+ workflow = workflow_yaml(path)
+ triggers = trigger_names(workflow).to_set & SENSITIVE_TRIGGERS
+ triggers.each do |trigger|
next if %w[.github/workflows/cla.yml .github/workflows/pr-approval.yml].include?(path) && trigger == "pull_request_target"
trigger_violations << "#{path}: #{trigger}"
end
- facts[:unpinned_actions].each do |action|
- unpinned_violations << "#{path}: #{action}"
+ workflow.fetch("jobs", {}).each_value do |job|
+ uses = job["uses"]
+ next unless uses
+
+ called_workflow, ref = uses.match(USES_REF)&.captures
+ next unless called_workflow
+ next if ref.match?(FULL_SHA)
+
+ unpinned_workflows << "#{path}: #{uses}"
end
end
-failed = trigger_violations.any? || unpinned_violations.any?
+failed = trigger_violations.any? || unpinned_workflows.any?
puts "Workflow Security Checks: #{failed ? "Failed" : "Passed"}"
-puts "Checked #{checked_files.length} workflow/action files."
+puts "Checked #{checked_files.length} workflow files."
exit 0 unless failed
@@ -95,14 +70,14 @@ unless trigger_violations.empty?
trigger_violations.each { |violation| puts "- #{violation}" }
end
-unless unpinned_violations.empty?
+unless unpinned_workflows.empty?
puts
- puts "Unpinned external actions:"
- unpinned_violations.each { |violation| puts "- #{violation}" }
+ puts "Unpinned external workflows:"
+ unpinned_workflows.each { |violation| puts "- #{violation}" }
end
puts
puts "Fix:"
puts "- Remove privileged triggers." if trigger_violations.any?
-puts "- Pin external actions to a full 40-character commit SHA." if unpinned_violations.any?
+puts "- Pin external workflows to a full 40-character commit SHA." if unpinned_workflows.any?
exit 1
diff --git a/.github/checks/workflow-security/test.rb b/.github/checks/workflow-security/test.rb
index 38e656c3d0..c46f310206 100644
--- a/.github/checks/workflow-security/test.rb
+++ b/.github/checks/workflow-security/test.rb
@@ -30,13 +30,22 @@ end
stdout, stderr, status = run(approval => <<~YAML)
on: [pull_request_target, workflow_run]
- jobs:
- approve:
- steps:
- - uses: actions/github-script@v9
YAML
raise "#{stdout}#{stderr}" unless status.exitstatus == 1
-["workflow_run", "actions/github-script@v9"].each do |violation|
- raise stdout unless stdout.include?("#{approval}: #{violation}")
-end
+raise stdout unless stdout.include?("#{approval}: workflow_run")
raise stdout if stdout.include?("#{approval}: pull_request_target")
+
+{
+ "owner/repo/.github/workflows/build.yml@v1" => false,
+ "owner/repo/.github/workflows/build.yml@#{'a' * 40}" => true,
+ "./.github/workflows/build.yml" => true,
+}.each do |uses, allowed|
+ stdout, stderr, status = run(".github/workflows/ci.yml" => <<~YAML)
+ on: pull_request
+ jobs:
+ build:
+ uses: #{uses}
+ YAML
+ raise "#{stdout}#{stderr}" unless status.success? == allowed
+ raise stdout unless allowed || stdout.include?(uses)
+end
diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock
new file mode 100644
index 0000000000..4e58251d00
--- /dev/null
+++ b/.github/workflows/actions.lock
@@ -0,0 +1,333 @@
+# This file is machine-generated by `gh actions-lock`.
+# Do not edit by hand; run `gh actions-lock` to update.
+# Docs: https://gh.io/actions-lockfile
+version: 'v0.0.3'
+workflows:
+ '.github/workflows/android-lint.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/app-release.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ '.github/workflows/apple-lint.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/auth-build.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333'
+ - 'actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad'
+ - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
+ - 'apple-actions/import-codesign-certs@77ba2a2a8f5cfc8c405ebf3159f767c323e238f9'
+ - 'azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82'
+ - 'ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd'
+ - 'r0adkll/upload-google-play@e738b9dd8f2476ea806d921b64aacd24f34515a5'
+ '.github/workflows/cast-build.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'apple-actions/import-codesign-certs@77ba2a2a8f5cfc8c405ebf3159f767c323e238f9'
+ - 'ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd'
+ '.github/workflows/change-approval.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ '.github/workflows/ci.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ '.github/workflows/cla.yml':
+ - 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3'
+ '.github/workflows/cli-release.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333'
+ - 'actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e'
+ - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
+ '.github/workflows/codeql.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
+ '.github/workflows/copycat-db-release.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ '.github/workflows/dependabot-follow-up.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333'
+ - 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3'
+ - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
+ - 'openai/codex-action@bdf19a4a223ec2549a3e2274a0cf61556bc07675'
+ '.github/workflows/dependency-review.yml':
+ - 'actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294'
+ '.github/workflows/desktop-lint.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/docs-deploy-redirect.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0'
+ '.github/workflows/docs-deploy.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0'
+ '.github/workflows/docs-verify-build.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ '.github/workflows/ensu-build.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd'
+ - 'apple-actions/import-codesign-certs@77ba2a2a8f5cfc8c405ebf3159f767c323e238f9'
+ - 'ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd'
+ - 'r0adkll/upload-google-play@e738b9dd8f2476ea806d921b64aacd24f34515a5'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ - 'tauri-apps/tauri-action@1deb371b0cd8bd54025b384f1cd735e725c4060f'
+ '.github/workflows/ensu-desktop-build.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/ente-cli-release.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333'
+ - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
+ - 'apple-actions/import-codesign-certs@77ba2a2a8f5cfc8c405ebf3159f767c323e238f9'
+ - 'azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82'
+ '.github/workflows/infra-deploy-staff.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0'
+ '.github/workflows/infra-lint-staff.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ '.github/workflows/locker-build.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333'
+ - 'actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad'
+ - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
+ - 'apple-actions/import-codesign-certs@77ba2a2a8f5cfc8c405ebf3159f767c323e238f9'
+ - 'ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd'
+ - 'r0adkll/upload-google-play@e738b9dd8f2476ea806d921b64aacd24f34515a5'
+ '.github/workflows/mobile-crowdin-push-sources-and-translations.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'crowdin/github-action@959dc74ac104447731cba99a016f85d0ae719788'
+ '.github/workflows/mobile-crowdin-push-sources.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'crowdin/github-action@959dc74ac104447731cba99a016f85d0ae719788'
+ '.github/workflows/mobile-crowdin-sync.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'crowdin/github-action@959dc74ac104447731cba99a016f85d0ae719788'
+ '.github/workflows/mobile-lint.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/mobile-podfile-lock.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ '.github/workflows/photos-build.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333'
+ - 'actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad'
+ - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
+ - 'apple-actions/import-codesign-certs@77ba2a2a8f5cfc8c405ebf3159f767c323e238f9'
+ - 'ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd'
+ - 'r0adkll/upload-google-play@e738b9dd8f2476ea806d921b64aacd24f34515a5'
+ '.github/workflows/photos-desktop-build.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/pr-approval.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3'
+ - 'openai/codex-action@bdf19a4a223ec2549a3e2274a0cf61556bc07675'
+ '.github/workflows/repo-lint.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ '.github/workflows/rust-cli-test.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/rust-lint.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/rust-test.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/server-lint.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e'
+ '.github/workflows/server-publish-ghcr.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ '.github/workflows/server-release.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ '.github/workflows/stale.yml':
+ - 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3'
+ - 'actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93'
+ '.github/workflows/warm-caches.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/web-crowdin-push-sources-and-translations.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'crowdin/github-action@959dc74ac104447731cba99a016f85d0ae719788'
+ '.github/workflows/web-crowdin-sync.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ - 'crowdin/github-action@959dc74ac104447731cba99a016f85d0ae719788'
+ '.github/workflows/web-deploy-2of3.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0'
+ '.github/workflows/web-deploy-space.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0'
+ '.github/workflows/web-deploy.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0'
+ '.github/workflows/web-lint.yml':
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+ - 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1'
+ - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ '.github/workflows/web-publish-ghcr.yml':
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
+dependencies:
+ 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9':
+ ref: 'v6.1.0'
+ commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
+ owner_id: 44036562
+ repo_id: 215566462
+ 'actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7':
+ ref: 'v5.0.4'
+ commit: 'sha1-668228422ae6a00e4ad889ee87cd7109ec5666a7'
+ owner_id: 44036562
+ repo_id: 215566462
+ 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1':
+ ref: 'v7.0.1'
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
+ owner_id: 44036562
+ repo_id: 197814629
+ 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510':
+ ref: 'v3.3.0'
+ commit: 'sha1-64ab729a6294000f5aa4a4bc0b73d1f32bc45510'
+ owner_id: 44036562
+ repo_id: 642580244
+ 'actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294':
+ ref: 'v5.0.0'
+ commit: 'sha1-a1d282b36b6f3519aa1f3fc636f609c47dddb294'
+ owner_id: 44036562
+ repo_id: 476372928
+ 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333':
+ ref: 'v8.0.2'
+ commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
+ owner_id: 44036562
+ repo_id: 192626254
+ 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3':
+ ref: 'v9.0.0'
+ commit: 'sha1-3a2844b7e9c422d3c10d287c895573f7108da1b3'
+ owner_id: 44036562
+ repo_id: 205262760
+ 'actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e':
+ ref: 'v7.0.0'
+ commit: 'sha1-b7ad1dad31e06c5925ef5d2fc7ad053ef454303e'
+ owner_id: 44036562
+ repo_id: 192624594
+ 'actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad':
+ ref: 'v6.1.0'
+ commit: 'sha1-b843ebf9b913146b38da2eaa7aeddf76074ae1ad'
+ owner_id: 44036562
+ repo_id: 196057608
+ 'actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f':
+ ref: 'v6.3.0'
+ commit: 'sha1-53b83947a5a98c8d113130e565377fae1a50d02f'
+ owner_id: 44036562
+ repo_id: 189476904
+ 'actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1':
+ ref: 'v7.1.0'
+ commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
+ owner_id: 44036562
+ repo_id: 189476904
+ 'actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93':
+ ref: 'v11.0.0'
+ commit: 'sha1-4391f3da665fdf50b6810c1a66712fb9ba21aa93'
+ owner_id: 44036562
+ repo_id: 200437066
+ 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9':
+ ref: 'v7.0.2'
+ commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
+ owner_id: 44036562
+ repo_id: 192625955
+ 'android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd':
+ ref: 'v4.0.4'
+ commit: 'sha1-be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd'
+ owner_id: 69522701
+ repo_id: 286780795
+ 'apple-actions/import-codesign-certs@77ba2a2a8f5cfc8c405ebf3159f767c323e238f9':
+ ref: 'v7.1.0'
+ commit: 'sha1-77ba2a2a8f5cfc8c405ebf3159f767c323e238f9'
+ owner_id: 60242489
+ repo_id: 235022350
+ 'azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82':
+ ref: 'v2.0.0'
+ commit: 'sha1-c7ab2a863ab5f9a846ddb8265964877ef296ee82'
+ owner_id: 6844498
+ repo_id: 771200572
+ uses:
+ - 'actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7'
+ 'cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0':
+ ref: 'v4.1.3'
+ commit: 'sha1-953926a2e2182532811c01a25e53647d93bf07c0'
+ owner_id: 314135
+ repo_id: 213471363
+ 'crowdin/github-action@959dc74ac104447731cba99a016f85d0ae719788':
+ ref: 'v3.5.0'
+ commit: 'sha1-959dc74ac104447731cba99a016f85d0ae719788'
+ owner_id: 861398
+ repo_id: 258521306
+ 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370':
+ ref: 'v4.39.1'
+ commit: 'sha1-9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
+ owner_id: 9919
+ repo_id: 259445878
+ 'ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd':
+ ref: 'v1.21.0'
+ commit: 'sha1-339a81892b84b4eeb0f6e744e4574d79d0d9b8dd'
+ owner_id: 5712756
+ repo_id: 204020546
+ 'openai/codex-action@bdf19a4a223ec2549a3e2274a0cf61556bc07675':
+ ref: 'v1.13'
+ commit: 'sha1-bdf19a4a223ec2549a3e2274a0cf61556bc07675'
+ owner_id: 14957082
+ repo_id: 1068091251
+ uses:
+ - 'actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f'
+ 'r0adkll/upload-google-play@e738b9dd8f2476ea806d921b64aacd24f34515a5':
+ ref: 'v1.1.5'
+ commit: 'sha1-e738b9dd8f2476ea806d921b64aacd24f34515a5'
+ owner_id: 1237372
+ repo_id: 220583833
+ 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0':
+ ref: 'v2.9.3'
+ commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0'
+ owner_id: 580492
+ repo_id: 298565987
+ 'tauri-apps/tauri-action@1deb371b0cd8bd54025b384f1cd735e725c4060f':
+ ref: 'v1.0.0'
+ commit: 'sha1-1deb371b0cd8bd54025b384f1cd735e725c4060f'
+ owner_id: 54536011
+ repo_id: 277927923
diff --git a/.github/workflows/android-lint.yml b/.github/workflows/android-lint.yml
index be32733a46..3b7d2c0a97 100644
--- a/.github/workflows/android-lint.yml
+++ b/.github/workflows/android-lint.yml
@@ -23,7 +23,7 @@ jobs:
save-if: false
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: photos-desktop-ensu-android
diff --git a/.github/workflows/apple-lint.yml b/.github/workflows/apple-lint.yml
index 2d4dd901a2..0d5bee0ee6 100644
--- a/.github/workflows/apple-lint.yml
+++ b/.github/workflows/apple-lint.yml
@@ -23,7 +23,7 @@ jobs:
save-if: false
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: ensu-ios
diff --git a/.github/workflows/auth-build.yml b/.github/workflows/auth-build.yml
index 0a8f6b1793..9dfc3861e7 100644
--- a/.github/workflows/auth-build.yml
+++ b/.github/workflows/auth-build.yml
@@ -39,7 +39,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
- ref: ${{ github.ref_name }}
+ ref: ${{ github.sha }}
- name: Prepare release
id: prepare
@@ -115,7 +115,7 @@ jobs:
java-version: "17"
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
@@ -238,7 +238,7 @@ jobs:
submodules: recursive
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
@@ -392,7 +392,7 @@ jobs:
submodules: recursive
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
shell: bash
@@ -452,7 +452,7 @@ jobs:
-AllowlistPath "windows/signing/allowed-pe-files.txt"
- name: Sign Windows payload with Trusted Signing
- uses: azure/trusted-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0
+ uses: Azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -481,7 +481,7 @@ jobs:
-CompilerPath $env:INNO_SETUP_COMPILER
- name: Sign Windows installer with Trusted Signing
- uses: azure/trusted-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0
+ uses: Azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -586,7 +586,7 @@ jobs:
submodules: recursive
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
@@ -732,7 +732,7 @@ jobs:
submodules: recursive
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
diff --git a/.github/workflows/change-approval.yml b/.github/workflows/change-approval.yml
index 29b3c83eb2..36d1726d52 100644
--- a/.github/workflows/change-approval.yml
+++ b/.github/workflows/change-approval.yml
@@ -32,9 +32,13 @@ jobs:
node "$RUNNER_TEMP/.github/checks/change-approval/check.mjs" HEAD^1
- name: Run workflow security checks
+ env:
+ GH_TOKEN: ${{ github.token }}
run: |
git show origin/main:.github/checks/workflow-security/check.rb > "$RUNNER_TEMP/workflow-security.rb"
ruby "$RUNNER_TEMP/workflow-security.rb"
+ gh extension install github/gh-actions-lock --pin v0.4.1
+ gh actions-lock --verify
- run: node --test .github/checks/change-approval/test.mjs
diff --git a/.github/workflows/dependabot-follow-up.yml b/.github/workflows/dependabot-follow-up.yml
index a56a58d788..f76e576cff 100644
--- a/.github/workflows/dependabot-follow-up.yml
+++ b/.github/workflows/dependabot-follow-up.yml
@@ -99,7 +99,7 @@ jobs:
- name: Setup Linux for Rust
if: ${{ !matrix.pr.reviewOnly }}
- uses: ./.github/actions/setup-rust-linux
+ uses: $/.github/actions/setup-rust-linux
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
diff --git a/.github/workflows/desktop-lint.yml b/.github/workflows/desktop-lint.yml
index a454abc113..ff48faff29 100644
--- a/.github/workflows/desktop-lint.yml
+++ b/.github/workflows/desktop-lint.yml
@@ -37,7 +37,7 @@ jobs:
save-if: false
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: photos-desktop-ensu-android
diff --git a/.github/workflows/ensu-desktop-build.yml b/.github/workflows/ensu-desktop-build.yml
index 6042b4850e..2ef9481c93 100644
--- a/.github/workflows/ensu-desktop-build.yml
+++ b/.github/workflows/ensu-desktop-build.yml
@@ -22,7 +22,7 @@ jobs:
rust/apps/ensu/package-lock.json
web/package-lock.json
- - uses: ./.github/actions/setup-rust-linux
+ - uses: $/.github/actions/setup-rust-linux
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
@@ -31,7 +31,7 @@ jobs:
cache-targets: false
save-if: false
- - uses: ./.github/actions/restore-rust-target
+ - uses: $/.github/actions/restore-rust-target
with:
shared-key: rust-workspace
diff --git a/.github/workflows/ente-cli-release.yml b/.github/workflows/ente-cli-release.yml
index 768ab82c52..a8a8d03966 100644
--- a/.github/workflows/ente-cli-release.yml
+++ b/.github/workflows/ente-cli-release.yml
@@ -163,7 +163,7 @@ jobs:
pattern: unsigned-ente-cli-v${{ needs.prepare.outputs.version }}-windows-*
path: unsigned
- name: Sign Windows binaries
- uses: azure/trusted-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0
+ uses: Azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
diff --git a/.github/workflows/locker-build.yml b/.github/workflows/locker-build.yml
index c9b506d9dc..81bc90245c 100644
--- a/.github/workflows/locker-build.yml
+++ b/.github/workflows/locker-build.yml
@@ -39,7 +39,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
- ref: ${{ github.ref_name }}
+ ref: ${{ github.sha }}
- name: Prepare release
id: prepare
@@ -114,7 +114,7 @@ jobs:
java-version: "17"
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs locker set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
@@ -231,7 +231,7 @@ jobs:
ref: ${{ needs.build-metadata.outputs.commit_sha }}
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs locker set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml
index 6a006e16a5..f7d7a1bc41 100644
--- a/.github/workflows/mobile-lint.yml
+++ b/.github/workflows/mobile-lint.yml
@@ -55,7 +55,7 @@ jobs:
working-directory: mobile/apps/auth
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
# Restore-only; primed on main by warm-caches.yml.
- name: Restore Rust cache
@@ -67,7 +67,7 @@ jobs:
save-if: false
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: rust-flutter
diff --git a/.github/workflows/mobile-podfile-lock.yml b/.github/workflows/mobile-podfile-lock.yml
index eae16414b7..51c2900812 100644
--- a/.github/workflows/mobile-podfile-lock.yml
+++ b/.github/workflows/mobile-podfile-lock.yml
@@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- run: flutter pub get --enforce-lockfile
working-directory: mobile
diff --git a/.github/workflows/photos-build.yml b/.github/workflows/photos-build.yml
index e6dbe26b57..65ae31201c 100644
--- a/.github/workflows/photos-build.yml
+++ b/.github/workflows/photos-build.yml
@@ -39,7 +39,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
- ref: ${{ github.ref_name }}
+ ref: ${{ github.sha }}
- name: Prepare release
id: prepare
@@ -114,7 +114,7 @@ jobs:
java-version: "17"
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs photos set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
@@ -234,7 +234,7 @@ jobs:
ref: ${{ needs.build-metadata.outputs.commit_sha }}
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Set build version
run: node ../../../.github/scripts/flutter-version.mjs photos set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"
diff --git a/.github/workflows/rust-cli-test.yml b/.github/workflows/rust-cli-test.yml
index 7321ed8e18..b1b0c11c84 100644
--- a/.github/workflows/rust-cli-test.yml
+++ b/.github/workflows/rust-cli-test.yml
@@ -30,7 +30,7 @@ jobs:
save-if: false
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: rust-cli
@@ -86,7 +86,7 @@ jobs:
save-if: false
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: rust-cli
diff --git a/.github/workflows/rust-lint.yml b/.github/workflows/rust-lint.yml
index c210231bde..19ba1784a6 100644
--- a/.github/workflows/rust-lint.yml
+++ b/.github/workflows/rust-lint.yml
@@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Linux for Rust
- uses: ./.github/actions/setup-rust-linux
+ uses: $/.github/actions/setup-rust-linux
# Restore-only; primed on main by warm-caches.yml.
- name: Restore Rust cache
@@ -33,7 +33,7 @@ jobs:
cache-directories: rust/.cache
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: rust-workspace
diff --git a/.github/workflows/rust-test.yml b/.github/workflows/rust-test.yml
index c84cde4290..db49eaadc6 100644
--- a/.github/workflows/rust-test.yml
+++ b/.github/workflows/rust-test.yml
@@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Linux for Rust
- uses: ./.github/actions/setup-rust-linux
+ uses: $/.github/actions/setup-rust-linux
- name: Setup go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
@@ -44,7 +44,7 @@ jobs:
cache-directories: rust/.cache
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: rust-workspace
diff --git a/.github/workflows/warm-caches.yml b/.github/workflows/warm-caches.yml
index 0fa12bf104..7653ef6f31 100644
--- a/.github/workflows/warm-caches.yml
+++ b/.github/workflows/warm-caches.yml
@@ -32,7 +32,7 @@ jobs:
cache: false
- name: Setup Linux for Rust
- uses: ./.github/actions/setup-rust-linux
+ uses: $/.github/actions/setup-rust-linux
- name: Setup Rust cache
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
@@ -44,7 +44,7 @@ jobs:
- name: Check Rust target cache
id: rust-target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
lookup-only: true
shared-key: rust-workspace
@@ -106,7 +106,7 @@ jobs:
- name: Check Rust target cache
id: rust-target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
lookup-only: true
shared-key: rust-cli
@@ -138,7 +138,7 @@ jobs:
submodules: recursive
- name: Install Flutter
- uses: ./.github/actions/setup-flutter
+ uses: $/.github/actions/setup-flutter
- name: Setup Rust cache
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
@@ -149,7 +149,7 @@ jobs:
- name: Check Rust target cache
id: rust-target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
lookup-only: true
shared-key: rust-flutter
@@ -210,7 +210,7 @@ jobs:
- name: Check Rust target cache
id: rust-target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
lookup-only: true
shared-key: rust-wasm
@@ -275,7 +275,7 @@ jobs:
- name: Check Rust target cache
id: rust-target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
lookup-only: true
shared-key: photos-desktop-ensu-android
@@ -332,7 +332,7 @@ jobs:
- name: Check Rust target cache
id: rust-target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
lookup-only: true
shared-key: ensu-ios
diff --git a/.github/workflows/web-deploy-space.yml b/.github/workflows/web-deploy-space.yml
index 8d418590b0..329e975a22 100644
--- a/.github/workflows/web-deploy-space.yml
+++ b/.github/workflows/web-deploy-space.yml
@@ -33,7 +33,7 @@ jobs:
run: npm audit --audit-level critical
- name: Deploy space
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: space
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml
index f523090cd8..fec6e5730a 100644
--- a/.github/workflows/web-deploy.yml
+++ b/.github/workflows/web-deploy.yml
@@ -35,49 +35,49 @@ jobs:
- name: Audit dependencies
run: npm audit --audit-level critical
- name: Deploy photos
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: photos
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy albums
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: albums
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy accounts
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: accounts
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy auth
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: auth
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy legacy
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: legacy
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy cast
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: cast
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy payments
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: payments
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -85,56 +85,56 @@ jobs:
output: dist
- name: Deploy locker
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: locker
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy share
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: share
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy space
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: space
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy memories
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: memories
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy paste
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: paste
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy embed
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: embed
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy ensu
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: ensu
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy photobook
- uses: ./.github/actions/deploy-web-app
+ uses: $/.github/actions/deploy-web-app
with:
app: photobook
account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index 77ef461849..42b6e0620d 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -33,7 +33,7 @@ jobs:
save-if: false
- name: Restore Rust target
- uses: ./.github/actions/restore-rust-target
+ uses: $/.github/actions/restore-rust-target
with:
shared-key: rust-wasm