A local-first personal finance app
[AI] zizmor: add environment references to secret-consuming workflows (#7856)
Matiss Janis Aboltins1f101077d669
diff --git a/.github/workflows/ai-generated-release-notes.yml b/.github/workflows/ai-generated-release-notes.ymlindex bf5290e932..cc8745f2bc 100644--- a/.github/workflows/ai-generated-release-notes.yml+++ b/.github/workflows/ai-generated-release-notes.yml@@ -9,6 +9,7 @@ jobs:# Only run on PR comments from CodeRabbit botif: github.event.issue.pull_request && github.event.comment.user.login == 'coderabbitai[bot]'runs-on: ubuntu-latest+ environment: ai-release-notestimeout-minutes: 10permissions:contents: writediff --git a/.github/workflows/docs-spelling.yml b/.github/workflows/docs-spelling.ymlindex c403d6e1be..2d48f8bce9 100644--- a/.github/workflows/docs-spelling.yml+++ b/.github/workflows/docs-spelling.yml@@ -146,6 +146,7 @@ jobs:pull-requests: writeactions: readruns-on: ubuntu-latest+ environment: docs-spellingif: ${{github.event_name == 'issue_comment' &&github.event.issue.pull_request &&diff --git a/.github/workflows/i18n-string-extract-master.yml b/.github/workflows/i18n-string-extract-master.ymlindex c9acaa434e..63fec315c6 100644--- a/.github/workflows/i18n-string-extract-master.yml+++ b/.github/workflows/i18n-string-extract-master.yml@@ -12,6 +12,7 @@ permissions:jobs:extract-and-upload-i18n-strings:runs-on: ubuntu-latest+ environment: i18nif: github.repository == 'actualbudget/actual'steps:- name: Check out main repositorydiff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.ymlindex 989235459b..e62c47b317 100644--- a/.github/workflows/release-notes.yml+++ b/.github/workflows/release-notes.yml@@ -14,6 +14,7 @@ concurrency:jobs:release-notes:runs-on: ubuntu-latest+ environment: pr-automationsteps:- name: Check if triggered by botid: bot-checkdiff --git a/.github/workflows/vrt-update-apply.yml b/.github/workflows/vrt-update-apply.ymlindex d6358fb3fe..4afb354b01 100644--- a/.github/workflows/vrt-update-apply.yml+++ b/.github/workflows/vrt-update-apply.yml@@ -16,6 +16,7 @@ jobs:apply-vrt-updates:name: Apply VRT Updatesruns-on: ubuntu-latest+ environment: pr-automationif: ${{ github.event.workflow_run.conclusion == 'success' }}steps:- name: Download patch artifactdiff --git a/upcoming-release-notes/7856.md b/upcoming-release-notes/7856.mdnew file mode 100644index 0000000000..537a3e1f91--- /dev/null+++ b/upcoming-release-notes/7856.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MatissJanis]+---++Reference dedicated environments for workflows that consume secrets, satisfying zizmor's `secrets-without-environment` audit.