Skip to content

CI(security): harden GitHub Actions workflows - #47

Open
AlexV525 wants to merge 1 commit into
masterfrom
fix/zizmor-security-hardening
Open

AlexV525 wants to merge 1 commit into
masterfrom
fix/zizmor-security-hardening

Conversation

@AlexV525

Copy link
Copy Markdown
Member

Resolves zizmor findings in fluttercandies/security-scanner#34.

Changes

.github/workflows/pub_publish.yml

  • unpinned-uses (High): pinned actions/checkout@v4 → @11d5960a326750d5838078e36cf38b85af677262, flutter-actions/setup-flutter@v4 → @adb607ae976a9e00473569facfc69813c637a060, k-paxian/dart-package-publisher@master → @8fdba1dbf624c712706281a6f91cb50b6bfc2eaf.
  • artipacked (Medium): added persist-credentials: false to the actions/checkout step.
  • excessive-permissions (Medium): added workflow-level permissions:\n contents: read.

.github/workflows/runnable.yml

  • unpinned-uses (High): pinned actions/checkout@v4 → @11d5960a326750d5838078e36cf38b85af677262, flutter-actions/setup-flutter@v4 → @adb607ae976a9e00473569facfc69813c637a060, bluefireteam/melos-action@v3 → @2982f8e4fc92440a219490009d6d05195cb1a6a5.
  • artipacked (Medium): added persist-credentials: false to the actions/checkout step.
  • excessive-permissions (Medium): added workflow-level permissions: {} (read-only build/analyze/dry-run workflow).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants