From b027aae1e62ccad50979333d3746b2c854aeebb3 Mon Sep 17 00:00:00 2001 From: Philipp Kewisch Date: Mon, 23 Mar 2026 15:10:24 +0100 Subject: [PATCH] chore(github): Don't create deployments if not necessary --- .github/workflows/needinfo-answered.yml | 4 +++- .github/workflows/needinfo-remove.yml | 4 +++- .github/workflows/needinfo-stale.yml | 4 +++- .github/workflows/pulls-auto-assign.yml | 4 +++- .github/workflows/pulls-merged.yml | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/needinfo-answered.yml b/.github/workflows/needinfo-answered.yml index 3c3ae01f..c59c40f2 100644 --- a/.github/workflows/needinfo-answered.yml +++ b/.github/workflows/needinfo-answered.yml @@ -16,7 +16,9 @@ jobs: if: | contains(github.event.issue.labels.*.name, 'status: needs information') && contains(github.event.issue.labels.*.name, 'status: answered') - environment: botmobile + environment: + name: botmobile + deployment: false permissions: issues: write steps: diff --git a/.github/workflows/needinfo-remove.yml b/.github/workflows/needinfo-remove.yml index 02777a35..ed379219 100644 --- a/.github/workflows/needinfo-remove.yml +++ b/.github/workflows/needinfo-remove.yml @@ -17,7 +17,9 @@ jobs: github.event.comment.author_association != 'OWNER' && github.event.comment.author_association != 'MEMBER' && github.event.comment.author_association != 'COLLABORATOR' - environment: botmobile + environment: + name: botmobile + deployment: false permissions: issues: write steps: diff --git a/.github/workflows/needinfo-stale.yml b/.github/workflows/needinfo-stale.yml index 5050ecbf..862725a5 100644 --- a/.github/workflows/needinfo-stale.yml +++ b/.github/workflows/needinfo-stale.yml @@ -12,7 +12,9 @@ permissions: jobs: build: runs-on: ubuntu-latest - environment: botmobile + environment: + name: botmobile + deployment: false permissions: issues: write steps: diff --git a/.github/workflows/pulls-auto-assign.yml b/.github/workflows/pulls-auto-assign.yml index 648154d1..e6ba7ca4 100644 --- a/.github/workflows/pulls-auto-assign.yml +++ b/.github/workflows/pulls-auto-assign.yml @@ -13,7 +13,9 @@ permissions: jobs: assign-reviewer: runs-on: ubuntu-latest - environment: botmobile + environment: + name: botmobile + deployment: false permissions: pull-requests: write steps: diff --git a/.github/workflows/pulls-merged.yml b/.github/workflows/pulls-merged.yml index 6342bf76..352c75fe 100644 --- a/.github/workflows/pulls-merged.yml +++ b/.github/workflows/pulls-merged.yml @@ -15,7 +15,9 @@ jobs: pull-request-merged: if: github.event.pull_request.merged runs-on: ubuntu-latest - environment: botmobile + environment: + name: botmobile + deployment: false permissions: pull-requests: write issues: write