π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Consolidate workflow security checks
Manav Rathi78361e0b115e
diff --git a/.github/workflows/change-approval.yml b/.github/workflows/change-approval.ymlindex 66456466a2..e98c58dd0f 100644--- a/.github/workflows/change-approval.yml+++ b/.github/workflows/change-approval.yml@@ -30,6 +30,13 @@ jobs:git show origin/main:.github/checks/change-approval/check.mjs > "$RUNNER_TEMP/change-approval.mjs"node "$RUNNER_TEMP/change-approval.mjs" HEAD^1+ - name: Run workflow security checks+ run: |+ git show origin/main:.github/checks/workflow-security/check.rb > "$RUNNER_TEMP/workflow-security.rb"+ ruby "$RUNNER_TEMP/workflow-security.rb"++ - run: node --test .github/checks/change-approval/test.mjs+gate:name: Change approvalneeds: detectdiff --git a/.github/workflows/workflow-security-checks.yml b/.github/workflows/workflow-security-checks.ymldeleted file mode 100644index 5d187c2e20..0000000000--- a/.github/workflows/workflow-security-checks.yml+++ /dev/null@@ -1,32 +0,0 @@-name: Workflow security checks--on:- pull_request:- paths:- - '.github/workflows/**'- - '.github/actions/**'- - '.github/checks/change-approval/**'- - '.github/checks/workflow-security/**'--permissions:- contents: read--jobs:- workflow-security-checks:- runs-on: ubuntu-latest- steps:- - name: Checkout PR- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0-- - name: Checkout trusted checker- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0- with:- ref: ${{ github.base_ref }}- path: trusted- sparse-checkout: .github/checks/workflow-security/check.rb- sparse-checkout-cone-mode: false-- - name: Run workflow security checks- run: ruby trusted/.github/checks/workflow-security/check.rb-- - run: node --test .github/checks/change-approval/test.mjs